Commit f7cae6e5 authored by Murukesh Mohanan's avatar Murukesh Mohanan

previous page link fix

parent ba397758
...@@ -31,12 +31,12 @@ pagestyle: posts ...@@ -31,12 +31,12 @@ pagestyle: posts
{% endfor %} {% endfor %}
<section class="page-links"> <section class="page-links">
{% if page.next.url %} {% if page.previous %}
<a class="page-prev" href="{{ site.base-url }}{{ page.previous.url }}" title="{{ page.previous.title }}"> <a class="page-prev" href="{{ site.base-url }}{{ page.previous.url }}" title="{{ page.previous.title }}">
{{ page.previous.title }} {{ page.previous.title }}
</a> </a>
{% endif %} {% endif %}
{% if page.next.url %} {% if page.next %}
<a class="page-next" href="{{ site.base-url }}{{ page.next.url }}" title="{{ page.next.title }}"> <a class="page-next" href="{{ site.base-url }}{{ page.next.url }}" title="{{ page.next.title }}">
{{ page.next.title }} {{ page.next.title }}
</a> </a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment