2022-06-27 17:27:51 +02:00
|
|
|
{{ $currentPage := . }}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ .Site.LanguageCode }}">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
|
|
<title>{{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}</title>
|
|
|
|
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
|
|
|
{{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
|
|
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
2022-07-02 01:26:23 +02:00
|
|
|
<pre>TEST
|
|
|
|
LOGO
|
|
|
|
PLS
|
|
|
|
IGNR</pre>
|
|
|
|
<input class="nav-toggle" id="toggleMainNav" type="checkbox">
|
|
|
|
<label class="nav-burger" for="toggleMainNav">
|
|
|
|
<div></div>
|
|
|
|
<div></div>
|
|
|
|
<div></div>
|
|
|
|
</label>
|
|
|
|
<nav class="nav-toggleable" style="--num-elements: {{ len .Site.Menus.main }}">
|
2022-06-27 17:27:51 +02:00
|
|
|
{{ range .Site.Menus.main }}
|
|
|
|
<a{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} class="is-active"{{ end }} href="{{ .URL }}"{{ if hasPrefix .URL "https://" }} target="_blank"{{ end }}>{{ .Name }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
{{ block "main" . }}
|
|
|
|
{{ end }}
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
|
|
<nav>
|
|
|
|
{{ range .Site.Menus.footer }}
|
|
|
|
<a{{ if or ($currentPage.IsMenuCurrent "footer" .) ($currentPage.HasMenuCurrent "footer" .) }} class="is-active"{{ end }} href="{{ .URL }}"{{ if hasPrefix .URL "https://" }} target="_blank"{{ end }}>{{ .Name }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</nav>
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|