diff --git a/exampleSite/content/page/about.md b/exampleSite/content/page/about.md index 46a3b3e..8a8789f 100644 --- a/exampleSite/content/page/about.md +++ b/exampleSite/content/page/about.md @@ -5,6 +5,7 @@ date = "2019-02-28" aliases = ["about-us", "about-hugo", "contact"] author = "Hugo Authors" license = "CC BY-NC-ND" +lastmod = "2020-10-09" +++ Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. diff --git a/i18n/en.toml b/i18n/en.toml index 7f2036e..f766971 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -5,7 +5,7 @@ other = "Related contents" [lastUpdatedOn] - other ="Last updated on {{ .Count }}" + other ="Last updated on" [widgetArchivesTitle] other = "Archives" diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml index d8852e4..a3f78cd 100644 --- a/i18n/zh-CN.toml +++ b/i18n/zh-CN.toml @@ -5,7 +5,7 @@ other = "相关文章" [lastUpdatedOn] - other ="最后更新于 {{ .Count }}" + 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 -}}