diff options
author | nodejh <jianghangscu@gmail.com> | 2021-08-22 18:02:45 +0300 |
---|---|---|
committer | nodejh <jianghangscu@gmail.com> | 2021-08-22 18:02:45 +0300 |
commit | 719174b276b99f1062e4eb80fe7f39d9b0d037f5 (patch) | |
tree | 34f826b206d0f36609a60c024dd54b9574bbf7ca | |
parent | 2c791bde4bf8f33873a6fdfb729316b71703178d (diff) |
fix: add i18n in taxonomy page
-rw-r--r-- | layouts/_default/taxonomy.html | 2 |
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 }}"> |