Commit 77d2498d authored by Murukesh Mohanan's avatar Murukesh Mohanan

bug fix for blog pagination

parent 5390b346
...@@ -32,11 +32,11 @@ layout: default ...@@ -32,11 +32,11 @@ layout: default
<section class="page-links"> <section class="page-links">
{% if paginator.next_page %} {% if paginator.next_page %}
<a class="page-prev" href="{{ paginator.next_page_path }}">Older: <a class="page-prev" href="{{ site.base-url }}{{ paginator.next_page_path }}">Older:
{{ paginator.next_page }} / {{ paginator.total_pages }}</a> {{ paginator.next_page }} / {{ paginator.total_pages }}</a>
{% endif %} {% endif %}
{% if paginator.previous_page %} {% if paginator.previous_page %}
<a class="page-next" href="{{ paginator.previous_page_path }}">Newer: <a class="page-next" href="{{ site.base-url }}{{ paginator.previous_page_path }}">Newer:
{{ paginator.previous_page }} / {{ paginator.total_pages }}</a> {{ paginator.previous_page }} / {{ paginator.total_pages }}</a>
{% endif %} {% endif %}
</section> </section>
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