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

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/utils/list-keywords.html')
-rw-r--r--layouts/partials/utils/list-keywords.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/utils/list-keywords.html b/layouts/partials/utils/list-keywords.html
index 61fb522..bf2bc6c 100644
--- a/layouts/partials/utils/list-keywords.html
+++ b/layouts/partials/utils/list-keywords.html
@@ -9,7 +9,8 @@
{{ .scratch.Delete .type }}
{{ partial "utils/get-keywords.html" (dict "type" .type "context" .context "scratch" .scratch "removeDuplicates" .removeDuplicates) }}
{{ range (.scratch.Get .type) }}
- <a href="{{ (print "/" $.type "/") | relLangURL }}{{ . | urlize }}" title="{{ . }}">
+ {{/* HACK: (replace . "#" "%23/") is a special case for "#" character */}}
+ <a href="{{ (print "/" $.type "/") | relLangURL }}{{ replace . "#" "%23/" | urlize }}" title="{{ . }}">
{{ . }}
</a>
{{ end }}