mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 09:03:02 -04:00
✨Add i18n chinese translation
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
{{ end }}
|
||||
{{ if and .Draft .Site.Params.article.showDraftLabel }}
|
||||
<div class="ml-2">
|
||||
{{ partial "badge.html" "Draft" }}
|
||||
{{ partial "badge.html" (i18n "article.draft" | emojify) }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if templates.Exists "partials/extend-article-link.html" }}
|
||||
|
||||
@@ -12,22 +12,14 @@
|
||||
{{/* Theme attribution */}}
|
||||
{{ if .Site.Params.attribution | default true }}
|
||||
<p class="text-xs text-neutral-300 dark:text-neutral-600">
|
||||
{{ i18n "footer.powered_by" }}
|
||||
<a
|
||||
class="hover:underline hover:underline-primary-300 hover:text-primary-400"
|
||||
href="https://gohugo.io/"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>Hugo</a
|
||||
>
|
||||
&
|
||||
<a
|
||||
class="hover:underline hover:underline-primary-300 hover:text-primary-400"
|
||||
href="https://git.io/hugo-congo"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>Congo</a
|
||||
>
|
||||
{{ $hugo := printf `<a class="hover:underline hover:underline-primary-300 hover:text-primary-400"
|
||||
href="https://gohugo.io/" target="_blank" rel="noopener noreferrer">Hugo</a>
|
||||
&
|
||||
<a class="hover:underline hover:underline-primary-300 hover:text-primary-400" href="https://git.io/hugo-congo"
|
||||
target="_blank" rel="noopener noreferrer">Congo</a>`
|
||||
}}
|
||||
|
||||
{{ i18n "footer.powered_by" (dict "Hugo" $hugo) | safeHTML }}
|
||||
</p>
|
||||
{{ end }}
|
||||
{{/* Extend footer - eg. for extra scripts, etc. */}}
|
||||
|
||||
Reference in New Issue
Block a user