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

github.com/zwbetz-gh/minimal-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/tags.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html
index 8db7b00..202b4f7 100644
--- a/layouts/partials/tags.html
+++ b/layouts/partials/tags.html
@@ -1,3 +1,4 @@
{{ range .Params.tags }}
-<small><code><a href="{{ "/tags/" | absURL }}{{ . | urlize }}">{{ . }}</a></code></small>
+{{ $href := print (absURL "tags/") (urlize .) }}
+<small><code><a href="{{ $href }}">{{ . }}</a></code></small>
{{ end }} \ No newline at end of file