diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-08-25 01:40:02 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-08-25 14:04:59 +0530 |
| commit | e35915a561183850b258afed559fae50f9535a1e (patch) | |
| tree | 3884e77249cd70463a0d2da04430d2d23d5e9a04 /layouts/_default/list.html | |
| parent | 04f9fabf92cc275fadf51e3d12c2702922a135f2 (diff) | |
support Multilingual navigation
add reading time as i18n
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 21224c3..4e7e14d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -28,7 +28,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> |
