summaryrefslogtreecommitdiff
path: root/_includes/views/pagination.html
diff options
context:
space:
mode:
authorMark <47029019+MarkChenYutian@users.noreply.github.com>2021-05-02 22:35:18 +0800
committerGitHub <noreply@github.com>2021-05-02 22:35:18 +0800
commit1bd266423b9550a1d9e0b67441b06da4a7de68a9 (patch)
tree8564bdb7689b5cf6fee473ca7be71c4d49a910e5 /_includes/views/pagination.html
parentf1e94f03c92daec732690fd359d9685d716ed5e0 (diff)
fix: wrong relative url of post tag in pagination (#31)
Co-authored-by: Mark Chen <markchenyutian@gmail.com>
Diffstat (limited to '_includes/views/pagination.html')
-rw-r--r--_includes/views/pagination.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/views/pagination.html b/_includes/views/pagination.html
index 15c6b23..fc44534 100644
--- a/_includes/views/pagination.html
+++ b/_includes/views/pagination.html
@@ -34,7 +34,7 @@
</p>
<div class="post-tags">
{%- for tag in post.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>
</li>