Skip to content

Commit

Permalink
tag page: add / to "all tags" link
Browse files Browse the repository at this point in the history
This is to improve Google indexing pages, for the /tags/ page. In GitHub
Pages, the URL /tags does not exist per se, but is a redirect to /tags/.
Google Crawler gets confused with 301 HTTP status and does not index it.
  • Loading branch information
heitorPB committed Mar 5, 2024
1 parent 0ced778 commit 4be31aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/tags/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1 class="post-title">
({{ term.pages | length }} post{{ term.pages | length | pluralize }})
</h1>

<a href="{{ config.base_url | safe }}/tags">
<a href="{{ config.base_url | safe }}/tags/">
Show all tags
</a>

Expand Down

0 comments on commit 4be31aa

Please sign in to comment.