mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 09:12:47 +00:00
improved internationalisation
This commit is contained in:
parent
1e37db6cef
commit
a28a494bb1
@ -1,8 +1,21 @@
|
|||||||
<footer class="bg-near-black bottom-0 w-100 pa3" role="contentinfo">
|
<footer class="bg-near-black bottom-0 w-100 pa3" role="contentinfo">
|
||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="{{ .Site.BaseURL }}" >
|
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="{{ .Site.BaseURL | relLangURL }}" >
|
||||||
© {{ now.Format "2006" }} {{ .Site.Title }}
|
© {{ now.Format "2006" }} {{ .Site.Title }}
|
||||||
</a>
|
</a>
|
||||||
|
<div class="flex-l">
|
||||||
|
<a class="f4 fw4 no-underline white-90 dn dib-ns pv2 ph3" href="{{ .Permalink }}">
|
||||||
|
{{ .Site.Params.languageName | default .Lang }}
|
||||||
|
</a>
|
||||||
|
{{ if .IsTranslated }}
|
||||||
|
{{ range .Translations }}
|
||||||
|
<a class="f4 fw4 hover-white no-underline white-40 dn dib-ns pv2 ph3" href="{{ .Permalink }}">
|
||||||
|
{{ .Site.Params.languageName | default .Lang }}
|
||||||
|
</a>
|
||||||
|
{{ end}}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "social-follow.html" . }}
|
{{ partial "social-follow.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<nav class="pv3 ph3 ph4-ns" role="navigation">
|
<nav class="pv3 ph3 ph4-ns" role="navigation">
|
||||||
<div class="flex-l justify-between items-center center">
|
<div class="flex-l justify-between items-center center">
|
||||||
<a href="{{ .Site.BaseURL }}" class="f3 fw2 hover-white no-underline white-90 dib">
|
<a href="{{ .Site.BaseURL | relLangURL }}" class="f3 fw2 hover-white no-underline white-90 dib">
|
||||||
{{ .Site.Title }}
|
{{ .Site.Title }}
|
||||||
</a>
|
</a>
|
||||||
<div class="flex-l items-center">
|
<div class="flex-l items-center">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user