aboutsummaryrefslogtreecommitdiff
path: root/layouts/post/summary.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/post/summary.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/post/summary.html')
-rw-r--r--layouts/post/summary.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/post/summary.html b/layouts/post/summary.html
index bbebe31..0695eac 100644
--- a/layouts/post/summary.html
+++ b/layouts/post/summary.html
@@ -7,7 +7,7 @@
{{ with .Params.categories -}}
<div class="post-category">
{{ range . }}
- <a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a>
+ <a href="{{ "categories" | relLangURL }}/{{ . | urlize }}/"> {{ . }} </a>
{{ end }}
</div>
{{- end }}