diff options
author | Linlin Yan <yanlinlin82@gmail.com> | 2022-04-05 16:13:11 +0300 |
---|---|---|
committer | Linlin Yan <yanlinlin82@gmail.com> | 2022-04-05 16:13:11 +0300 |
commit | 3984a60cf115f2b41f79a43b72cbeb720be438a1 (patch) | |
tree | 4c47db87fa1b241e02963e133ecb8134dfcac506 | |
parent | e90e05a69d25fb42cefcbadc88ca85e07faf1cd7 (diff) |
Fix bug about Chinese tags.
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 851744d..7c4c7af 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,7 +14,7 @@ <div class="meta"> {{ range .Param $taxo -}} {{ $name := . -}} - {{ with $.Site.GetPage (printf "/%s/%s" $taxo ($name | urlize)) -}} + {{ with $.Site.GetPage (printf "/%s/%s" $taxo ($name | anchorize)) -}} <span><a href="{{ .Permalink }}">#{{ $name }}</a></span> {{ end -}} {{ end -}} |