Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yanlinlin82/simple-style.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinlin Yan <yanlinlin82@gmail.com>2022-04-05 16:13:11 +0300
committerLinlin Yan <yanlinlin82@gmail.com>2022-04-05 16:13:11 +0300
commit3984a60cf115f2b41f79a43b72cbeb720be438a1 (patch)
tree4c47db87fa1b241e02963e133ecb8134dfcac506
parente90e05a69d25fb42cefcbadc88ca85e07faf1cd7 (diff)
Fix bug about Chinese tags.
-rw-r--r--layouts/_default/single.html2
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 -}}