aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/terms.html
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-01-30 21:26:46 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-01-30 21:26:46 +0800
commit084f8cb2c350f44fd99bf0fc76beadbfc92e9f02 (patch)
tree31d9df6a69f2bcf5678c7882239a20d0862cea70 /layouts/_default/terms.html
parentdcff1e389f0474bf01bdacbad6313fbdadab5329 (diff)
feat: support multilingual mode
* fix: wrong lang attribute in multilingual mode - baseof.html * fix: rss link in multilingual mode - footer.html * fix: wrong tags, categories, home link in multilingual mode - other files ... This relates to #25
Diffstat (limited to 'layouts/_default/terms.html')
-rw-r--r--layouts/_default/terms.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index fbf0045..7bdafb9 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -16,7 +16,7 @@
</div>
<div class="categories-tags">
{{ range $key, $value := $terms }}
- <a class="category-link" href="{{ $name | urlize | relURL }}/{{ $value.Term | urlize }}/">
+ <a class="category-link" href="{{ $name | relLangURL }}/{{ $value.Term | urlize }}/">
{{ $value.Term }}
<span class="category-count">{{ len $value.Pages }}</span>
</a>
@@ -34,7 +34,7 @@
</div>
<div class="tag-cloud-tags">
{{ range $key, $value := $terms }}
- <a href="{{ $name | urlize | relURL }}/{{ $value.Term | urlize }}/">
+ <a href="{{ $name | relLangURL }}/{{ $value.Term | urlize }}/">
{{ $value.Term }}
<span class="tag-count">{{ len $value.Pages }}</span>
</a>