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

github.com/nodejh/hugo-theme-cactus-plus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornodejh <jianghangscu@gmail.com>2021-08-22 18:02:45 +0300
committernodejh <jianghangscu@gmail.com>2021-08-22 18:02:45 +0300
commit719174b276b99f1062e4eb80fe7f39d9b0d037f5 (patch)
tree34f826b206d0f36609a60c024dd54b9574bbf7ca
parent2c791bde4bf8f33873a6fdfb729316b71703178d (diff)
fix: add i18n in taxonomy page
-rw-r--r--layouts/_default/taxonomy.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index fb4640a..ef6d0e9 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -12,7 +12,7 @@
{{ range .Pages }}
<div class="value">
<div class="date">
- {{ .Date.Format "Jan 2" }}
+ <time datetime="{{ .PublishDate }}">{{ i18n "publishDateShort" . }}</time>
</div>
<div class="title">
<a href="{{ .Permalink }}">