diff options
author | akgnah | 2020-05-05 04:21:20 +0800 |
---|---|---|
committer | akgnah | 2020-05-05 04:21:20 +0800 |
commit | 44ee76165c7d192ee6e35880ebf5a2bd4440f4e5 (patch) | |
tree | ddf324c4d590c374aaab6ff2d8299aa7f7c9e2e7 /layouts | |
parent | b4c1d25f42db1b16e6e9ddfa80b6bc3f4d327eb7 (diff) | |
download | hugo-theme-fuji-44ee76165c7d192ee6e35880ebf5a2bd4440f4e5.tar.gz hugo-theme-fuji-44ee76165c7d192ee6e35880ebf5a2bd4440f4e5.tar.bz2 hugo-theme-fuji-44ee76165c7d192ee6e35880ebf5a2bd4440f4e5.zip |
Fix tag url when base url is /
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/post-meta.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html index 7e5b47b..4864808 100644 --- a/layouts/partials/post-meta.html +++ b/layouts/partials/post-meta.html @@ -7,7 +7,7 @@ <span> {{ if .Params.tags }} {{ range .Params.tags }} - <a href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}/">{{ . }}</a> + <a href="/tags/{{ . | urlize }}/">{{ . }}</a> {{ end }} {{ else }} <span>{{ i18n "postMetaNoTag" }}</span> |