Skip to content

Commit

Permalink
Include host value when building page navigation (newer) slug. #16
Browse files Browse the repository at this point in the history
  • Loading branch information
ParitoshBh committed Dec 30, 2019
1 parent fa6e375 commit 7b04bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/blog.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div>
{% if currentPage != '1' %}
<div class="float-left">
<i class="far fa-hand-point-left"></i> <a href="{{ page.url ~ '/page' ~ system.param_sep ~ (currentPage - 1) }}">Newer</a>
<i class="far fa-hand-point-left"></i> <a href="{{ page.url(true) ~ '/page' ~ system.param_sep ~ (currentPage - 1) }}">Newer</a>
</div>
{% endif %}
{% if (currentPage + 1) <= pagesInCollection %}
Expand Down

0 comments on commit 7b04bcf

Please sign in to comment.