diff --git a/i18n/en.toml b/i18n/en.toml index 9bd57b6..f766971 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -5,7 +5,7 @@ other = "Related contents" [lastUpdatedOn] - other ="Last updated on {{ . }}" + other ="Last updated on" [widgetArchivesTitle] other = "Archives" diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml index b0f56d6..a3f78cd 100644 --- a/i18n/zh-CN.toml +++ b/i18n/zh-CN.toml @@ -5,7 +5,7 @@ other = "相关文章" [lastUpdatedOn] - other ="最后更新于 {{ . }}" + other ="最后更新于" [widgetArchivesTitle] other = "归档" diff --git a/layouts/partials/article/components/footer.html b/layouts/partials/article/components/footer.html index 3431c81..7f42870 100644 --- a/layouts/partials/article/components/footer.html +++ b/layouts/partials/article/components/footer.html @@ -12,7 +12,7 @@
{{ (resources.Get "icons/clock.svg").Content | safeHTML }} - {{ T "lastUpdatedOn" (.Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" )) }} + {{ T "lastUpdatedOn" }} {{ .Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
{{- end -}}