fix: wrong relative urls
This commit is contained in:
parent
035c3a7e2d
commit
740fbd3e0a
2 changed files with 3 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
{%- if page.tags.size > 0 -%}
|
||||
<div class="post-tags">
|
||||
{%- for tag in page.tags -%}
|
||||
<a class="post-tag" href="/tags.html#{{tag}}">#{{tag}}</a>
|
||||
<a class="post-tag" href="{{ '/tags.html ' | relative_url }}#{{tag}}">#{{tag}}</a>
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
{%- endif -%}
|
||||
|
|
Loading…
Reference in a new issue