mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2025-06-22 07:51:10 +02:00
Use i18n to translate some strings
Hugo 0.17 allows for easy multi-lingual sites. Strings can be translated either in the theme or in the site, and missing strings will fall back to the default language. See: https://github.com/spf13/hugo/blob/master/docs/content/content/multilingual.md
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<hr>
|
||||
<footer>
|
||||
<header>
|
||||
<h4>Share</h4>
|
||||
<h4>{{ i18n "share" }}</h4>
|
||||
</header>
|
||||
<nav class="nav nav-inline">
|
||||
{{ if not (eq .Site.Params.sharingicons.facebook false) }}<a class="nav-item" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" title="Share on Facebook"><span class="fa fa-facebook fa-2x" aria-hidden="true"></span></a>{{ end }}
|
||||
|
Reference in New Issue
Block a user