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-range.html')
-rw-r--r--layouts/partials/utils/list-keywords-range.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/utils/list-keywords-range.html b/layouts/partials/utils/list-keywords-range.html
index 2ecd4d8..952225e 100644
--- a/layouts/partials/utils/list-keywords-range.html
+++ b/layouts/partials/utils/list-keywords-range.html
@@ -17,7 +17,8 @@
{{ .scratch.Set .type (uniq (.scratch.Get .type)) }}
{{ 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 }}