refactor(i18n): translation key renaming (#68)

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/63
This commit is contained in:
Jimmy Cai
2020-12-19 01:41:26 +01:00
committed by GitHub
parent e9c1abac93
commit d205753323
23 changed files with 273 additions and 266 deletions
@@ -12,7 +12,7 @@
<section class="article-time">
{{ partial "helper/icon" "clock" }}
<span class="article-time--modified">
{{ T "lastUpdatedOn" }} {{ .Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
{{ T "article.lastUpdatedOn" }} {{ .Lastmod.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
</span>
</section>
{{- end -}}
@@ -1,7 +1,7 @@
<aside class="related-contents--wrapper">
{{ $related := (where (.Site.RegularPages.Related .) "Params.hidden" "!=" true) | first 5 }}
{{ with $related }}
<h2 class="section-title">{{ T "relatedContents" }}</h2>
<h2 class="section-title">{{ T "article.relatedContents" }}</h2>
<div class="related-contents">
<div class="flex article-list--tile">
{{ range . }}