_includes/pagination/pages.html in writers-zone-0.1.5 vs _includes/pagination/pages.html in writers-zone-0.2.0
- old
+ new
@@ -4,16 +4,16 @@
-->
<div class="wrapper">
<div class="pagination-pages">
{% if paginator.previous_page %}
- <a class="previous-pages" href="{{ paginator.previous_page_path | prepend: site.baseurl }}" title="Previous">« Previous</a>
+ <a class="previous-pages" href="{{ paginator.previous_page_path | relative_url }}" title="Previous">« Previous</a>
{% else %}
<span class="previous-pages">« Previous</span>
{% endif %}
<span class="page-number">{{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
- <a class="next-pages" href="{{ paginator.next_page_path | prepend: site.baseurl }}" title="Next">Next »</a>
+ <a class="next-pages" href="{{ paginator.next_page_path | relative_url }}" title="Next">Next »</a>
{% else %}
<span class="next-pages">Next »</span>
{% endif %}
</div>
</div>