mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-10 08:53:33 -04:00
✨ Add i18n support
This commit is contained in:
@@ -11,8 +11,7 @@
|
||||
<span class="px-1">·</span>
|
||||
{{ end }}
|
||||
{{ if and (.Params.showReadingTime | default (.Site.Params.article.showReadingTime | default true)) (ne .ReadingTime 0) }}
|
||||
<span title="Reading time">
|
||||
{{ .ReadingTime }}
|
||||
min{{ if gt .ReadingTime 1 }}s{{ end }}
|
||||
<span title="{{ i18n "article.reading_time_title" }}">
|
||||
{{ i18n "article.reading_time" .ReadingTime | emojify }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user