support Multilingual navigation
add reading time as i18n
This commit is contained in:
parent
04f9fabf92
commit
e35915a561
7 changed files with 9 additions and 9 deletions
|
|
@ -20,7 +20,7 @@
|
|||
<div class="archive-meta">
|
||||
{{- if or .Params.author .Site.Params.author }}{{- .Params.author | default .Site.Params.author }} ·
|
||||
{{ end }}
|
||||
{{ if $.Site.Params.ShowReadingTime }}{{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}
|
||||
{{ if $.Site.Params.ShowReadingTime }}{{ .ReadingTime }}{{ i18n "read_time" | default "min read" }}
|
||||
· {{ end }}
|
||||
{{- .Date.Format "January 2, 2006" -}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue