fix: wrong relative urls
This commit is contained in:
parent
035c3a7e2d
commit
740fbd3e0a
|
@ -6,7 +6,7 @@
|
||||||
<div class="paginator">
|
<div class="paginator">
|
||||||
<span class="previous">
|
<span class="previous">
|
||||||
{% if paginator.previous_page %}
|
{% if paginator.previous_page %}
|
||||||
<a href="{{ paginator.previous_page_path }}">Prev</a>
|
<a href="{{ paginator.previous_page_path | relative_url }}">Prev</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>Prev</span>
|
<span>Prev</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<span class="next">
|
<span class="next">
|
||||||
{% if paginator.next_page %}
|
{% if paginator.next_page %}
|
||||||
<a href="{{ paginator.next_page_path }}">Next</a>
|
<a href="{{ paginator.next_page_path | relative_url }}">Next</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>Next</span>
|
<span>Next</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
{%- if page.tags.size > 0 -%}
|
{%- if page.tags.size > 0 -%}
|
||||||
<div class="post-tags">
|
<div class="post-tags">
|
||||||
{%- for tag in page.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 -%}
|
{%- endfor -%}
|
||||||
</div>
|
</div>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
Loading…
Reference in a new issue