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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQicz <qiczzhu@gmail.com>2022-06-10 20:38:34 +0300
committerGitHub <noreply@github.com>2022-06-10 20:38:34 +0300
commit6adfb90c155f3f3ebd384445e5aecf09d4e67bde (patch)
tree98a07ff2e88ee736b591f3a7ab7dd19204a30fc0
parent17b553fe62e19d4ef79aca070674f90347f6e2b2 (diff)
optimize categories link to relLangURL (#366)
-rw-r--r--layouts/_default/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index c852448..4bfe206 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -49,7 +49,7 @@
{{ if gt (len .Params.categories) 0 }}
in
{{ range $index, $category := .Params.categories }}{{ if $index }}, {{ end }}
- <a href="{{ "categories/" | relURL }}{{ . | urlize | lower }}">{{ $category }}</a>{{ end }}
+ <a href="{{ "categories/" | relLangURL }}{{ . | urlize | lower }}">{{ $category }}</a>{{ end }}
{{ end }}
{{ end }}