refactor(i18n/article): remove date variable from lastUpdatedOn item
Due to Hugo v0.76's i18n behaviour change
This commit is contained in:
parent
043a1c1972
commit
8d508fb796
@ -5,7 +5,7 @@
|
|||||||
other = "Related contents"
|
other = "Related contents"
|
||||||
|
|
||||||
[lastUpdatedOn]
|
[lastUpdatedOn]
|
||||||
other ="Last updated on {{ . }}"
|
other ="Last updated on"
|
||||||
|
|
||||||
[widgetArchivesTitle]
|
[widgetArchivesTitle]
|
||||||
other = "Archives"
|
other = "Archives"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
other = "相关文章"
|
other = "相关文章"
|
||||||
|
|
||||||
[lastUpdatedOn]
|
[lastUpdatedOn]
|
||||||
other ="最后更新于 {{ . }}"
|
other ="最后更新于"
|
||||||
|
|
||||||
[widgetArchivesTitle]
|
[widgetArchivesTitle]
|
||||||
other = "归档"
|
other = "归档"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<section class="article-time">
|
<section class="article-time">
|
||||||
{{ (resources.Get "icons/clock.svg").Content | safeHTML }}
|
{{ (resources.Get "icons/clock.svg").Content | safeHTML }}
|
||||||
<span class="article-time--modified">
|
<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>
|
</span>
|
||||||
</section>
|
</section>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user