diff --git a/i18n/en.toml b/i18n/en.toml index 9f1ba15ed..f9440a20f 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -4,9 +4,6 @@ other = "Improve this page" [lastUpdated] other = "Last updated" -[lastUpdatedDateFormat] -other = "{{ .Format \"January 2, 2006\" }}" - [joinTitle] other = "Join the social media revolution" diff --git a/i18n/ja.toml b/i18n/ja.toml index 0e38e40cc..cd39dfbd5 100644 --- a/i18n/ja.toml +++ b/i18n/ja.toml @@ -4,9 +4,6 @@ other = "このページを改善する" [lastUpdated] other = "最終更新" -[lastUpdatedDateFormat] -other = "{{ .Format \"January 2, 2006\" }}" - [joinTitle] other = "ソーシャルメディア革命に参加する" diff --git a/i18n/pl.toml b/i18n/pl.toml index 865c00251..aa6162488 100644 --- a/i18n/pl.toml +++ b/i18n/pl.toml @@ -4,9 +4,6 @@ other = "Popraw tę stronę" [lastUpdated] other = "Ostatnio aktualizowano" -[lastUpdatedDateFormat] -other = "{{ .Format \"January 2, 2006\" }}" - [joinTitle] other = "Przyłącz się do rewolucji w mediach społecznościowych" diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml index 5e9093f57..f74512151 100644 --- a/i18n/zh-cn.toml +++ b/i18n/zh-cn.toml @@ -4,9 +4,6 @@ other = "改进此页面" [lastUpdated] other = "最后更新于" -[lastUpdatedDateFormat] -other = "{{ .Format \"January 2, 2006\" }}" - [joinTitle] other = "加入社交媒体革命" diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5386636fa..63fe24313 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -11,7 +11,7 @@

{{ .Title }}

{{ .Content }}

- {{ i18n "lastUpdated" }} {{ .Lastmod.Format "January 2, 2006" }}{{ with .File }} · {{ i18n "improvePage" }}{{ end }} + {{ i18n "lastUpdated" }} {{ .Lastmod | time.Format ":date_long" }}{{ with .File }} · {{ i18n "improvePage" }}{{ end }} {{ if .IsTranslated }}
diff --git a/layouts/index.html b/layouts/index.html index f028883d4..ea3395667 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,7 +11,7 @@

{{ .Title }}

{{ .Content }}

- {{ i18n "lastUpdated" }} {{ i18n "lastUpdatedDateFormat" .Lastmod }}{{ with .File }} · {{ i18n "improvePage" }}{{ end }} + {{ i18n "lastUpdated" }} {{ .Lastmod | time.Format ":date_long" }}{{ with .File }} · {{ i18n "improvePage" }}{{ end }} {{ if .IsTranslated }}