diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/header.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 93ebfd1..83f724f 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -30,4 +30,13 @@ </h3> </a> </div> + <ul class="list"> + {{ $currentPage := . }} + {{ range .Site.Menus.main }} + <li class="pv2"> + <a class="link {{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}active{{end}}" href="{{ .URL | relLangURL }}" title="{{ .Title }}"> + {{ .Pre }} {{ .Name }}</a> + {{ end }} + </li> + </ul> </nav> |