multi-language support through i18n

This commit is contained in:
Francesco Maida 2020-04-20 10:15:04 +02:00
parent 5529fcddd5
commit 2dac441b45

View File

@ -2,11 +2,11 @@
{{ partial "social.html" . }} {{ partial "social.html" . }}
<div class="footer-mobile-links"> <div class="footer-mobile-links">
<p><a href="https://github.com/kimcc/hugo-theme-noteworthy" target="_blank" rel="noopener">Noteworthy theme</a></p> <p><a href="https://github.com/kimcc/hugo-theme-noteworthy" target="_blank" rel="noopener">{{ i18n "noteworthy_theme" }}</a></p>
<span class="divider-bar">|</span> <span class="divider-bar">|</span>
<p><a href="https://gohugo.io" target="_blank" rel="noopener">Built with Hugo</a></p> <p><a href="https://gohugo.io" target="_blank" rel="noopener">{{ i18n "built_with_hugo" }}</a></p>
</div> </div>
{{ $script := resources.Get "js/main.js" | minify | fingerprint -}} {{ $script := resources.Get "js/main.js" | minify | fingerprint -}}
<script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }} crossorigin="anonymous"></script> <script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }} crossorigin="anonymous"></script>
</footer> </footer>