2024-09-02 19:58:59 +02:00
|
|
|
<header class="container main-header">
|
2021-11-04 18:19:15 +01:00
|
|
|
<nav class="no-print" role="navigation" aria-label="Primary">
|
2024-09-02 19:58:59 +02:00
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<!-- Insert the logo in SVG xml -->
|
|
|
|
<a href="{{ .Site.BaseURL }}"
|
|
|
|
title="{{ .Site.Title }}">
|
|
|
|
{{ partial "logo.html" }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ .Site.BaseURL }}"
|
|
|
|
class="title no-reformat"
|
|
|
|
title="{{ .Site.Title }}" >
|
|
|
|
<h1>{{ .Site.Title }}</h1>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2024-10-30 17:04:47 +01:00
|
|
|
<ul class="header-navigation">
|
2021-10-29 22:34:24 +02:00
|
|
|
{{ $currentPage := . -}}
|
|
|
|
{{ range sort .Site.Menus.main -}}
|
2024-09-02 19:58:59 +02:00
|
|
|
<li class="nav-item secondary">
|
|
|
|
<a class="nav-item-link{{if or (
|
|
|
|
$currentPage.IsMenuCurrent "main" .
|
|
|
|
) (
|
|
|
|
$currentPage.HasMenuCurrent "main" .
|
|
|
|
) }} active{{end}}"
|
2021-10-29 22:34:24 +02:00
|
|
|
href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end -}}
|
2024-09-02 19:58:59 +02:00
|
|
|
<li class="nav-item secondary">
|
2021-10-24 14:24:43 +02:00
|
|
|
{{ if .IsPage -}}
|
2021-10-29 22:34:24 +02:00
|
|
|
<a class="nav-item-link"
|
|
|
|
href="{{ .Site.BaseURL }}index.xml"
|
2022-11-14 18:21:38 +01:00
|
|
|
title="{{ i18n "subscribeToPublications" }} {{ i18n "toWebsite" }}">
|
|
|
|
{{ i18n "subscribe" }}
|
2021-10-29 22:34:24 +02:00
|
|
|
</a>
|
2021-10-24 14:24:43 +02:00
|
|
|
{{ else if .IsHome -}}
|
2021-10-29 22:34:24 +02:00
|
|
|
<a class="nav-item-link"
|
|
|
|
href="{{ .Site.BaseURL }}index.xml"
|
2022-11-14 18:21:38 +01:00
|
|
|
title="{{ i18n "subscribeToPublications" }} {{ i18n "toWebsite" }}">
|
|
|
|
{{ i18n "subscribe" }}
|
2021-10-29 22:34:24 +02:00
|
|
|
</a>
|
2021-10-24 14:24:43 +02:00
|
|
|
{{ else if .IsNode -}}
|
2021-10-29 22:34:24 +02:00
|
|
|
<a class="nav-item-link"
|
|
|
|
href="{{ .Permalink }}index.xml"
|
2022-11-14 18:21:38 +01:00
|
|
|
title="{{ i18n "subscribeToPublications" }} {{ i18n "toSection" }}">
|
|
|
|
{{ i18n "subscribe" }}
|
2021-10-29 22:34:24 +02:00
|
|
|
</a>
|
2021-10-24 14:24:43 +02:00
|
|
|
{{ end -}}
|
2021-10-29 22:34:24 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2019-07-08 07:05:23 +02:00
|
|
|
</header>
|