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

github.com/de-souza/hugo-flex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/tags.html6
-rw-r--r--theme.toml2
2 files changed, 3 insertions, 5 deletions
diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html
index 70e50f0..ee7a014 100644
--- a/layouts/partials/tags.html
+++ b/layouts/partials/tags.html
@@ -7,13 +7,11 @@
{{ range $taxonomy := $taxonomies }}
{{ if isset $.Params $taxonomy }}
<ul class="Tags">
- {{ range $term := index $.Params $taxonomy }}
- {{ with $term | urlize | printf "/%s/%s" $taxonomy | site.GetPage }}
+ {{ range $.GetTerms $taxonomy }}
<li class="Tags-item u-background">
- <a class="Tags-link u-clickable" href="{{ .Permalink }}" rel="tag">{{ $term }}</a>
+ <a class="Tags-link u-clickable" href="{{ .Permalink }}" rel="tag">{{ .LinkTitle }}</a>
</li>
{{ end }}
- {{ end }}
</ul>
{{ end }}
{{ end }}
diff --git a/theme.toml b/theme.toml
index bf96b0a..0fa70e7 100644
--- a/theme.toml
+++ b/theme.toml
@@ -5,7 +5,7 @@ description = "A lightweight Hugo theme leveraging CSS Flexbox"
homepage = "https://github.com/de-souza/hugo-flex/"
tags = ["responsive", "minimal", "flexbox", "no-javascript"]
features = ["posts"]
-min_version = "0.57.2"
+min_version = "0.65"
[author]
name = "Léo De Souza"