diff --git a/i18n/en.toml b/i18n/en.toml index 7c277702..86cfb384 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -2,7 +2,10 @@ other = "Improve this page" [lastUpdated] -other = "Last updated {{ .Format \"January 2, 2006\" }}" +other = "Last updated" + +[lastUpdatedDateFormat] +other = "{{ .Format \"January 2, 2006\" }}" [joinTitle] other = "Join the social media revolution" diff --git a/layouts/index.html b/layouts/index.html index 76101177..32a98493 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,7 +11,7 @@ {{ .Content }}

- {{ i18n "lastUpdated" .Lastmod }}{{ with .File }} · {{ i18n "improvePage" }}{{ end }} + {{ i18n "lastUpdated" }} {{ i18n "lastUpdatedDateFormat" .Lastmod }}{{ with .File }} · {{ i18n "improvePage" }}{{ end }} {{ if .IsTranslated }}