fix: wrong relative url of post tag in pagination (#31)

Co-authored-by: Mark Chen <markchenyutian@gmail.com>
This commit is contained in:
Mark 2021-05-02 22:35:18 +08:00 committed by GitHub
parent f1e94f03c9
commit 1bd266423b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>