mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 10:21:46 +01:00
feat(i18n): change lastUpdatedOn
item struct
This commit is contained in:
parent
4d0e260318
commit
04454a51ea
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
other = "Related contents"
|
||||
|
||||
[lastUpdatedOn]
|
||||
other ="Last updated on "
|
||||
other ="Last updated on {{ .Count }}"
|
||||
|
||||
[widgetArchiveTitle]
|
||||
other = "Archive"
|
||||
|
|
|
@ -18,7 +18,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 -}}
|
||||
|
|
Loading…
Reference in a new issue