2020-04-03 11:20:31 +02:00
|
|
|
<!DOCTYPE html>
|
2023-01-13 13:54:40 +01:00
|
|
|
<html lang="{{ .Site.LanguageCode }}">
|
2020-04-03 11:20:31 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
2023-01-13 13:54:40 +01:00
|
|
|
<title>{{ block "title" . }}{{ with .Title }}{{ . }} – {{ end }}{{ .Site.Title }}{{ end }}</title>
|
2020-04-03 11:20:31 +02:00
|
|
|
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
2023-01-13 13:54:40 +01:00
|
|
|
{{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
|
|
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
2020-04-03 11:20:31 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2023-01-13 13:54:40 +01:00
|
|
|
<header>
|
|
|
|
<span class="header-title">{{ .Site.Title }}</span>
|
|
|
|
<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 }}">
|
|
|
|
{{ range .Site.Menus.main }}
|
|
|
|
<a href="{{ .URL }}"{{ if hasPrefix .URL "https://" }} target="_blank"{{ end }}>{{ .Name }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
{{ block "main" . }}
|
|
|
|
{{ end }}
|
|
|
|
</main>
|
2020-04-03 11:20:31 +02:00
|
|
|
</body>
|
|
|
|
</html>
|