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

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/widgets/tags.html')
-rw-r--r--layouts/partials/widgets/tags.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/widgets/tags.html b/layouts/partials/widgets/tags.html
index cf97e36..9d03746 100644
--- a/layouts/partials/widgets/tags.html
+++ b/layouts/partials/widgets/tags.html
@@ -9,7 +9,8 @@
<ul class="category-list">
{{ range $name, $items := .Site.Taxonomies.tags }}
<li class="category-list-item">
- <a class="category-list-link" href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}">
+ {{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}
+ <a class="category-list-link" href="{{ $url | absURL }}">
{{ $name }}
</a>
<span class="category-list-count">{{ len $items }}</span>
@@ -20,4 +21,4 @@
</div>
{{ end }}
{{ end }}
-{{ end }} \ No newline at end of file
+{{ end }}