diff options
| author | roninro <liumy.f@foxmail.com> | 2022-07-30 18:27:11 +0800 |
|---|---|---|
| committer | roninro <liumy.f@foxmail.com> | 2022-07-30 18:27:11 +0800 |
| commit | 0ec9d99f24fcc6580570fc1e30f084484acd0910 (patch) | |
| tree | 761602c9591fb1c4f752cabeaffdf3b87e45267c | |
| parent | c33c9f2eb2f18a461037a56b532cc50130b2706b (diff) | |
fix tag encode
| -rw-r--r-- | layouts/partials/tagcloud.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/tagcloud.html b/layouts/partials/tagcloud.html index 73e04eb..04bf042 100644 --- a/layouts/partials/tagcloud.html +++ b/layouts/partials/tagcloud.html @@ -37,7 +37,7 @@ </a> {{ range .Site.Taxonomies.tags.ByCount }} -<a data-sort="{{ printf " %04d" (sub (len $pages) .Count) }}" data-encode="{{ .Page.Title | urlquery }}" +<a data-sort="{{ printf " %04d" (sub (len $pages) .Count) }}" data-encode="{{ .Page.Title | lower | urlquery }}" class="tag-button tag-color__{{ .Count }}" title="{{ .Page.Title }}" rel="{{ .Count }}"> {{ .Page.Title }} <sup>{{ .Count }}</sup> |
