diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2020-09-22 11:07:09 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2020-09-22 11:07:09 +0800 |
commit | 740fbd3e0ab1ccbb657862c61d3d557267cc8f1d (patch) | |
tree | a01f4bea2ab480209dd27d6f24badf81cada440c /_includes/views/paginator.html | |
parent | 035c3a7e2d697d913cc9476b352aae99dff78505 (diff) |
fix: wrong relative urls
Diffstat (limited to '_includes/views/paginator.html')
-rw-r--r-- | _includes/views/paginator.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/views/paginator.html b/_includes/views/paginator.html index 0e03df9..73c56bf 100644 --- a/_includes/views/paginator.html +++ b/_includes/views/paginator.html @@ -6,7 +6,7 @@ <div class="paginator"> <span class="previous"> {% if paginator.previous_page %} - <a href="{{ paginator.previous_page_path }}">Prev</a> + <a href="{{ paginator.previous_page_path | relative_url }}">Prev</a> {% else %} <span>Prev</span> {% endif %} @@ -16,7 +16,7 @@ <span class="next"> {% if paginator.next_page %} - <a href="{{ paginator.next_page_path }}">Next</a> + <a href="{{ paginator.next_page_path | relative_url }}">Next</a> {% else %} <span>Next</span> {% endif %} |