2023-03-05 21:33:21 +01:00
|
|
|
<header class="fixed-top header" data-pagefind-ignore>
|
2022-03-18 13:35:57 +01:00
|
|
|
{{ if .Site.Params.top_header }}
|
|
|
|
<div class="top-header py-2 bg-white">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row no-gutters align-items-center">
|
2023-04-04 18:34:22 +02:00
|
|
|
<div class="col-lg-4 text-center text-lg-start">
|
2022-03-18 13:35:57 +01:00
|
|
|
<ul class="list-inline">
|
|
|
|
{{ range .Site.Params.social }}
|
2023-06-09 20:35:28 +02:00
|
|
|
<li class="list-inline-item mx-0"><a class="d-inline-block p-2 text-body-secondary" href="{{ .link | safeURL }}"><i
|
2023-01-01 17:21:19 +01:00
|
|
|
class="{{ .icon }}"></i></a></li>
|
2022-03-18 13:35:57 +01:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2023-04-04 18:34:22 +02:00
|
|
|
<div class="col-lg-8 text-center text-lg-end">
|
2022-03-18 13:35:57 +01:00
|
|
|
<ul class="list-inline">
|
|
|
|
<li class="list-inline-item">
|
2023-06-21 17:58:49 +02:00
|
|
|
<a class="text-body-secondary me-3" href="tel:{{ .Site.Params.mobile }}">
|
|
|
|
<strong class="text-uppercase">Telefon:</strong> {{ .Site.Params.mobile }}
|
|
|
|
</a>
|
2023-01-01 17:21:19 +01:00
|
|
|
</li>
|
2022-03-18 13:35:57 +01:00
|
|
|
<li class="list-inline-item">
|
2023-06-21 17:58:49 +02:00
|
|
|
<a class="text-body-secondary" href="mailto:{{ .Site.Params.email }}">
|
|
|
|
<strong class="text-uppercase">E-Mail:</strong> {{ .Site.Params.email_label | safeHTML }}
|
|
|
|
</a>
|
2023-01-01 17:21:19 +01:00
|
|
|
</li>
|
2022-03-18 13:35:57 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2023-06-11 21:13:11 +02:00
|
|
|
<div class="navigation w-100">
|
2022-03-18 13:35:57 +01:00
|
|
|
<div class="container">
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark p-0">
|
2023-03-05 21:33:21 +01:00
|
|
|
|
2023-06-21 17:58:49 +02:00
|
|
|
<a class="navbar-brand" href="{{ .Site.BaseURL | relURL }}"><img height="60"
|
2023-01-01 17:21:19 +01:00
|
|
|
src="{{ .Site.Params.logo | absURL }}" class="py-2" alt="{{ .Site.Title }}"></a>
|
2023-04-05 14:16:33 +02:00
|
|
|
<button class="navbar-toggler rounded-0" type="button" data-bs-toggle="collapse" data-bs-target="#navigation"
|
2022-03-18 13:35:57 +01:00
|
|
|
aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse text-center" id="navigation">
|
2023-04-04 18:34:22 +02:00
|
|
|
<ul class="navbar-nav ms-auto">
|
2022-03-18 13:35:57 +01:00
|
|
|
<li class="nav-item">
|
2023-06-21 17:58:49 +02:00
|
|
|
<a class="nav-link" href="{{ .Site.BaseURL | absURL }}">Startseite</a>
|
2022-03-18 13:35:57 +01:00
|
|
|
</li>
|
|
|
|
{{ range .Site.Menus.main }}
|
|
|
|
{{ if .HasChildren }}
|
|
|
|
<li class="nav-item dropdown">
|
2023-04-05 14:16:33 +02:00
|
|
|
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown">
|
2023-06-21 17:58:49 +02:00
|
|
|
{{ .Name }}
|
2022-03-18 13:35:57 +01:00
|
|
|
</a>
|
2023-04-05 14:16:33 +02:00
|
|
|
<ul class="dropdown-menu">
|
2022-03-18 13:35:57 +01:00
|
|
|
{{ range .Children }}
|
2023-06-21 17:58:49 +02:00
|
|
|
<li><a class="dropdown-item text-uppercase" href="{{ .URL | absURL }}" target="{{ if .Params.External }}_blank{{ else }}_self{{end}}">{{ .Name }}</a></li>
|
2023-02-09 12:29:38 +01:00
|
|
|
{{ if .Params.separator }}
|
2023-04-05 14:16:33 +02:00
|
|
|
<hr class="dropdown-divider">
|
2023-02-09 12:29:38 +01:00
|
|
|
{{ end }}
|
2022-03-18 13:35:57 +01:00
|
|
|
{{ end }}
|
2023-04-05 14:16:33 +02:00
|
|
|
</ul>
|
2022-03-18 13:35:57 +01:00
|
|
|
</li>
|
|
|
|
{{ else }}
|
|
|
|
<li class="nav-item">
|
2023-06-21 17:58:49 +02:00
|
|
|
<a class="nav-link" href="{{ .URL | absURL }}">{{ .Name }}</a>
|
2022-03-18 13:35:57 +01:00
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2023-03-05 21:33:21 +01:00
|
|
|
<li class="nav-item">
|
2023-09-30 12:13:37 +02:00
|
|
|
<div class="nav-link nav-search" id="search-button" onclick="$('#pagefind-search').modal('show');">Suche</div>
|
2023-03-05 21:33:21 +01:00
|
|
|
</li>
|
2022-03-18 13:35:57 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-24 16:15:18 +02:00
|
|
|
<noscript>
|
|
|
|
<style>
|
|
|
|
.navigation {
|
|
|
|
background-color: #1a1a37;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</noscript>
|
2023-02-01 20:24:20 +01:00
|
|
|
</header>
|
|
|
|
|
2023-06-19 20:30:02 +02:00
|
|
|
{{ $top_banner := .Site.Data.homepage.top_banner }}
|
2023-01-01 17:21:19 +01:00
|
|
|
{{ if and $top_banner.enable }}
|
|
|
|
{{ if or (not $top_banner.temporarily.enable) (and $top_banner.temporarily.enable (and (le ($top_banner.temporarily.start_date | time.AsTime).Unix now.Unix ) (ge ($top_banner.temporarily.end_date | time.AsTime).Unix now.Unix))) }}
|
|
|
|
{{ with $top_banner }}
|
2023-06-11 21:13:11 +02:00
|
|
|
<div id="top-banner" class="p-3" style="background: {{ .color }}" data-pagefind-ignore>
|
2022-12-15 10:42:28 +01:00
|
|
|
<div class="container">
|
|
|
|
<div class="no-gutters align-items-center">
|
2023-06-11 21:13:11 +02:00
|
|
|
<div style="color: {{ .font_color }}"><b><i class="{{ .icon }}"></i> {{ .text | markdownify }}</b></div>
|
2022-12-15 10:42:28 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2023-01-26 21:51:35 +01:00
|
|
|
{{ end }}
|