:wrench:💄 Update the i18n config files.
This commit is contained in:
@@ -3,29 +3,29 @@
|
||||
<img src="/imgs/cc/cc.svg" width="75" height="75" align="right" alt="{{ T "Sidebar.label.ccommons" }}"/>
|
||||
<ul>
|
||||
<li class="post-copyright-title">
|
||||
<strong>{{ print (T "PostCopyRight.title") (T "SymbolColon") }}</strong>
|
||||
<strong>{{ print (T "PostCopyRight.title") (T "Symbol.colon") }}</strong>
|
||||
{{ .Title }}
|
||||
</li>
|
||||
<li class="post-copyright-author">
|
||||
{{ if isset .Params "author" }}
|
||||
<strong>{{ print (T "PostCopyRight.origin.author") (T "SymbolColon") }} </strong>
|
||||
<strong>{{ print (T "PostCopyRight.origin.author") (T "Symbol.colon") }} </strong>
|
||||
{{ .Params.Author }}
|
||||
{{ else }}
|
||||
<strong>{{ print (T "PostCopyRight.author") (T "SymbolColon") }} </strong>
|
||||
<strong>{{ print (T "PostCopyRight.author") (T "Symbol.colon") }} </strong>
|
||||
{{ .Site.Params.author }}
|
||||
{{ end }}
|
||||
</li>
|
||||
<li class="post-copyright-link">
|
||||
{{ if isset .Params "link" }}
|
||||
<strong>{{ print (T "PostCopyRight.origin.link") (T "SymbolColon") }} </strong>
|
||||
<strong>{{ print (T "PostCopyRight.origin.link") (T "Symbol.colon") }} </strong>
|
||||
<a target="_blank" href="{{ .Params.OriginLink }}" title="{{ .Title }}">{{ .Params.Link }}</a>
|
||||
{{ else }}
|
||||
<strong>{{ print (T "PostCopyRight.link") (T "SymbolColon") }}</strong>
|
||||
<strong>{{ print (T "PostCopyRight.link") (T "Symbol.colon") }}</strong>
|
||||
<a id="post-cr-link" href="{{ .Permalink | absLangURL }}" title="{{ .Title }}">{{ .Permalink | absLangURL }}</a>
|
||||
{{ end }}
|
||||
</li>
|
||||
<li class="post-copyright-license">
|
||||
<strong>{{ print (T "PostCopyRight.license.title") (T "SymbolColon") }} </strong>
|
||||
<strong>{{ print (T "PostCopyRight.license.title") (T "Symbol.colon") }} </strong>
|
||||
{{ $ccText := .Site.Params.creativeCommons.license | upper }}
|
||||
{{ $ccLink := printf "<a target='_blank' href='https://creativecommons.org/licenses/by-nc-sa/4.0/deed.%s'>%s</a>" (substr .Site.LanguageCode 0 2) $ccText }}
|
||||
{{ printf (T "PostCopyRight.license.content") $ccLink | safeHTML }}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<i class="far fa-folder-open"></i>
|
||||
</span>
|
||||
<span class="post-meta-item-text" title="{{ T "PostMeta.category" }}">
|
||||
{{ print (T "PostMeta.category") (T "SymbolColon") }}
|
||||
{{ print (T "PostMeta.category") (T "Symbol.colon") }}
|
||||
</span>
|
||||
{{ range (first 1 .) }}
|
||||
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<i class="far fa-comments"></i>
|
||||
</span>
|
||||
<span class="post-meta-item-text" title="{{ T "PostMeta.comments" }}">
|
||||
{{ print (T "PostMeta.comments") (T "SymbolColon") }}
|
||||
{{ print (T "PostMeta.comments") (T "Symbol.colon") }}
|
||||
</span>
|
||||
<span {{ with .Site.Params.waline.comment }}class="waline-comment-count"{{end}} data-path="{{ .RelPermalink | relLangURL }}">
|
||||
<i class="fa fa-sync fa-spin"></i>
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<i class="far fa-calendar"></i>
|
||||
</span>
|
||||
<span class="post-meta-item-text" title="{{ T "PostMeta.publish.date" }}">
|
||||
{{ print (T "PostMeta.publish.date") (T "SymbolColon") }}
|
||||
{{ print (T "PostMeta.publish.date") (T "Symbol.colon") }}
|
||||
</span>
|
||||
<time title="{{ print (T "PostMeta.publish.time") (T "SymbolColon") }}{{ .Date }}" itemprop="dateCreated datePublished" datetime="{{ .Date }}">
|
||||
<time title="{{ print (T "PostMeta.publish.time") (T "Symbol.colon") }}{{ .Date }}" itemprop="dateCreated datePublished" datetime="{{ .Date }}">
|
||||
{{ .Date.Format .Site.Params.dateFormat }}
|
||||
</time>
|
||||
</span>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<span class="post-meta-item-icon">
|
||||
<i class="far fa-clock"></i>
|
||||
</span>
|
||||
<span class="post-meta-item-text">{{ print (T "PostMeta.reading.title") (T "SymbolColon") }}≈</span>
|
||||
<span class="post-meta-item-text">{{ print (T "PostMeta.reading.title") (T "Symbol.colon") }}≈</span>
|
||||
<span>{{ T "PostMeta.reading.time" . }}</span>
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<i class="far fa-calendar-check"></i>
|
||||
</span>
|
||||
<span class="post-meta-item-text" title="{{ T "PostMeta.lastmod.date" }}">
|
||||
{{ print (T "PostMeta.lastmod.date") (T "SymbolColon") }}
|
||||
{{ print (T "PostMeta.lastmod.date") (T "Symbol.colon") }}
|
||||
</span>
|
||||
<time title="{{ print (T "PostMeta.lastmod.time") (T "SymbolColon") }}{{ $modTime }}" itemprop="dateModified" datetime="{{ $modTime }}">{{ .Lastmod.Format .Site.Params.dateFormat }}</time>
|
||||
<time title="{{ print (T "PostMeta.lastmod.time") (T "Symbol.colon") }}{{ $modTime }}" itemprop="dateModified" datetime="{{ $modTime }}">{{ .Lastmod.Format .Site.Params.dateFormat }}</time>
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -10,7 +10,7 @@
|
||||
<i class="far fa-eye"></i>
|
||||
</span>
|
||||
<span class="post-meta-item-text">
|
||||
{{ print (T "PostMeta.views") (T "SymbolColon") }}
|
||||
{{ print (T "PostMeta.views") (T "Symbol.colon") }}
|
||||
</span>
|
||||
<span {{ with $pageViewId }}id="{{ . }}"{{end}} {{ with .Site.Params.waline.pageView }}class="waline-pageview-count"{{end}} data-path="{{ .RelPermalink | relLangURL }}">
|
||||
<i class="fa fa-sync fa-spin"></i>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<span class="post-meta-item-icon">
|
||||
<i class="far fa-file-word"></i>
|
||||
</span>
|
||||
<span class="post-meta-item-text">{{ print (T "PostMeta.words.title") (T "SymbolColon") }}</span>
|
||||
<span class="post-meta-item-text">{{ print (T "PostMeta.words.title") (T "Symbol.colon") }}</span>
|
||||
<span>{{ T "PostMeta.words.count" . }}</span>
|
||||
</span>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user