aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html7
1 files changed, 5 insertions, 2 deletions
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 }}