feat(i18n): initial support for i18n

This commit is contained in:
Jimmy Cai
2020-09-09 17:17:09 +02:00
parent 98804e578d
commit ed4a43096c
8 changed files with 34 additions and 8 deletions
@@ -17,7 +17,9 @@
{{- if ne .Lastmod .Date -}}
<section class="article-time">
{{ (resources.Get "icons/clock.svg").Content | safeHTML }}
<span class="article-time--modified">Last updated on {{ .Lastmod.Format ( or .Site.Params.dateFormat "Jan 02, 2006 15:04 MST" ) }}</span>
<span class="article-time--modified">
{{ T "lastUpdatedOn" }} {{ .Lastmod.Format ( or .Site.Params.dateFormat "Jan 02, 2006 15:04 MST" ) }}
</span>
</section>
{{- end -}}
</footer>