summaryrefslogtreecommitdiff
path: root/_includes/views/post-header.html
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2020-09-22 11:07:09 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2020-09-22 11:07:09 +0800
commit740fbd3e0ab1ccbb657862c61d3d557267cc8f1d (patch)
treea01f4bea2ab480209dd27d6f24badf81cada440c /_includes/views/post-header.html
parent035c3a7e2d697d913cc9476b352aae99dff78505 (diff)
fix: wrong relative urls
Diffstat (limited to '_includes/views/post-header.html')
-rw-r--r--_includes/views/post-header.html2
1 files changed, 1 insertions, 1 deletions
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 -%}