summaryrefslogtreecommitdiff
path: root/_includes/views
diff options
context:
space:
mode:
Diffstat (limited to '_includes/views')
-rw-r--r--_includes/views/paginator.html4
-rw-r--r--_includes/views/post-header.html2
2 files changed, 3 insertions, 3 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 %}
diff --git a/_includes/views/post-header.html b/_includes/views/post-header.html
index c82bea3..df6447b 100644
--- a/_includes/views/post-header.html
+++ b/_includes/views/post-header.html
@@ -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 -%}