From cd1951155093aab9e378062451d3088572ca84d5 Mon Sep 17 00:00:00 2001 From: zzossig Date: Wed, 11 Mar 2020 12:29:38 +0900 Subject: [PATCH] [bug fix] support asian languages tags in single page --- layouts/partials/body/tags.html | 14 ++++++-------- theme.toml | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/layouts/partials/body/tags.html b/layouts/partials/body/tags.html index 9abdff4..0859aaf 100644 --- a/layouts/partials/body/tags.html +++ b/layouts/partials/body/tags.html @@ -1,11 +1,9 @@ {{ $taxo := "tags" }} -
-{{ range $index, $value := .Param $taxo }} - {{ if and (eq $index 0) (ne (len $value) 0) }} - 🏷️ - {{ end }} - {{ with $.Site.GetPage (printf "/%s/%s" $taxo ($value | urlize)) }} -
  • #{{ $value }}
  • +
    \ No newline at end of file + \ No newline at end of file diff --git a/theme.toml b/theme.toml index bf509a8..f07454e 100644 --- a/theme.toml +++ b/theme.toml @@ -5,7 +5,7 @@ license = "MIT" licenselink = "https://github.com/zzossig/hugo-theme-zzo/blob/master/LICENSE.md" tags = ["accessible", "multilingual", "responsive", "blog", "search", "simple", "light", "dark", "mobile", "gallery", "technical", "fast", "presentation"] features = ["accessible", "multilingual", "responsive", "grid", "sass", "search", "subtheme", "gallery", "technical", "fast", "presentation"] -min_version = "0.60.0" +min_version = "0.65.0" [author] name = "zzossig"