Skip to content

Commit

Permalink
fix: wrong relative url of post tag in pagination (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Chen <markchenyutian@gmail.com>
  • Loading branch information
MarkChenYutian and MarkChenYutian authored May 2, 2021
1 parent f1e94f0 commit 1bd2664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/views/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2 class="post-title">
</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>
Expand Down

0 comments on commit 1bd2664

Please sign in to comment.