From d975626d7222fdb6a89fccb3d3664a70b7a83a73 Mon Sep 17 00:00:00 2001 From: Derek Severin Date: Tue, 26 Mar 2019 10:35:35 +0700 Subject: Fixed C# url problem --- layouts/partials/utils/list-keywords-range.html | 3 ++- layouts/partials/utils/list-keywords.html | 3 ++- 2 files changed, 4 insertions(+), 2 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) }} - + {{/* HACK: (replace . "#" "%23/") is a special case for "#" character */}} + {{ . }} {{ end }} 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) }} - + {{/* HACK: (replace . "#" "%23/") is a special case for "#" character */}} + {{ . }} {{ end }} -- cgit v1.2.3