diff options
author | Mark <47029019+MarkChenYutian@users.noreply.github.com> | 2021-05-02 22:35:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 22:35:18 +0800 |
commit | 1bd266423b9550a1d9e0b67441b06da4a7de68a9 (patch) | |
tree | 8564bdb7689b5cf6fee473ca7be71c4d49a910e5 | |
parent | f1e94f03c92daec732690fd359d9685d716ed5e0 (diff) |
fix: wrong relative url of post tag in pagination (#31)
Co-authored-by: Mark Chen <markchenyutian@gmail.com>
-rw-r--r-- | _includes/views/pagination.html | 2 |
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> |