Merge branch 'master' into fix

This commit is contained in:
Romain 2020-10-09 19:27:31 +02:00 committed by GitHub
commit 14dacb5448
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View file

@ -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.

View file

@ -5,7 +5,7 @@
other = "Related contents"
[lastUpdatedOn]
other ="Last updated on {{ .Count }}"
other ="Last updated on"
[widgetArchivesTitle]
other = "Archives"

View file

@ -5,7 +5,7 @@
other = "相关文章"
[lastUpdatedOn]
other ="最后更新于 {{ .Count }}"
other ="最后更新于"
[widgetArchivesTitle]
other = "归档"

View file

@ -12,7 +12,7 @@
<section class="article-time">
{{ (resources.Get "icons/clock.svg").Content | safeHTML }}
<span class="article-time--modified">
{{ 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" ) }}
</span>
</section>
{{- end -}}