From 18bb0c99d61b3e1f918e6da6edaea9cdc52eaf4b Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Tue, 7 Jan 2020 10:30:31 +0900 Subject: [PATCH] Revert "move format to inside of lastUpdated" (#740) This reverts commit e097f0df78408eb1ae8e5b0dcbfd210796eb4f87. --- i18n/en.toml | 5 ++++- layouts/index.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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 }}