aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/header.html7
2 files changed, 6 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d9e6ccc..8740f70 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -15,7 +15,7 @@
{{ range .Site.Menus.footer }}
<li class="dib dim">
<a class="db f6 pa2 link near-white" href="{{ .URL }}"
- >{{ .Name | safeHTML }}
+ >{{ T .Name | safeHTML }}
</a>
</li>
{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index ea9f3ec..2dec03a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -22,9 +22,12 @@
<ul class="ma0 pa0 list overflow-hidden avenir">
{{ range .Site.Menus.main }}
<li class="fl-ns w3-hover-theme">
- <a class="db f6 pa3 link near-white" href="{{ .PageRef | relLangURL }}">
+ <a
+ class="db f6 pa3 link near-white"
+ href="{{ .PageRef | relLangURL }}"
+ >
{{ .Pre }}
- {{- .Name | safeHTML -}}
+ {{- or (T .Identifier) .Name | safeHTML -}}
</a>
</li>
{{ end }}