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
|
|
@ -52,7 +52,7 @@
|
|||
<footer class="entry-footer">
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
{{ if $.Site.Params.ShowReadingTime }} .
|
||||
{{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }}
|
||||
{{ .ReadingTime }}{{ i18n "read_time" | default "min read" }}{{ end }}
|
||||
{{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
|
||||
</footer>
|
||||
<a class="entry-link" href="{{ .Permalink }}"></a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue