2021-05-17 20:04:42 +02:00
|
|
|
<div class="header-top">
|
2024-01-08 17:45:37 +01:00
|
|
|
<div class="header-top-left">
|
|
|
|
{{ partial "site-title.html" . }}
|
2024-04-09 14:03:09 +02:00
|
|
|
{{ partial "theme-switcher.html" . }}
|
2024-03-13 09:14:36 +01:00
|
|
|
{{ partial "social-icons.html" . }}
|
2024-01-08 17:45:37 +01:00
|
|
|
</div>
|
|
|
|
<div class="header-top-right">
|
2024-04-09 14:03:09 +02:00
|
|
|
|
2024-01-08 17:45:37 +01:00
|
|
|
</div>
|
2021-05-17 20:04:42 +02:00
|
|
|
</div>
|
2024-01-08 17:45:37 +01:00
|
|
|
|
2020-08-29 09:02:58 +02:00
|
|
|
{{ if .Site.Menus.main }}
|
2023-11-18 12:54:41 +01:00
|
|
|
<nav class="noselect">
|
2020-08-28 16:51:29 +02:00
|
|
|
{{ $currentPage := . }}
|
|
|
|
{{ range .Site.Menus.main }}
|
|
|
|
<a class="{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} active{{end}}" href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</nav>
|
|
|
|
{{ else }}
|
|
|
|
<nav></nav>
|
2020-08-29 09:02:58 +02:00
|
|
|
{{ end }}
|
2021-01-11 19:39:27 +01:00
|
|
|
|
2024-04-09 14:30:37 +02:00
|
|
|
{{/* .Params is the current page config. .Site.Params is globall config in hugo.toml */}}
|
|
|
|
{{ if or .Site.Params.math .Params.math }}{{ partial "mathjax_support.html" . }}{{ end }}
|
2022-06-10 16:01:20 +02:00
|
|
|
|
2024-04-09 14:03:09 +02:00
|
|
|
{{ partial "header-extra.html" . }}
|