www.iger.events/layouts/_default/baseof.html

62 lines
2.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{ $currentPage := . }}
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="utf-8">
{{ block "viewport" . }}
<meta name="viewport" content="width=device-width,initial-scale=1.0">
{{ end }}
<meta property="og:site_name" content="{{ .Site.Title }}">
<meta property="og:title" content="{{ .Site.Title }} {{ .Title }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:image" content="{{ .Site.BaseURL }}sm-header.png">
<meta property="og:locale" content="{{ .Site.LanguageCode }}">
<title>{{ block "title" . }}{{ .Title }} &ndash; {{ .Site.Title }}{{ end }}</title>
<link rel="icon" href="/icon.svg" sizes="any" type="image/svg+xml">
{{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>
<body>
<header>
<div class="header-brand">
<a href="{{ relref . "/" }}">
<img alt="Logo der Intergalaktischen Erfahrungsreise, kurz IGER" class="header-logo" src="/logo.svg">
<pre><span>I</span>nter
<span>G</span>alaktische
<span>E</span>rfahrungs
<span>R</span>eise</pre>
</a>
</div>
<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{{ 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>
<p class="upcoming">
IGERla<br>
<span class="seven">7</span><span class="dot">.</span><span class="dash">-</span><span class="nine">9</span><span class="dot">.</span>
Juni
<span class="two">2</span><span class="zero">0</span><span class="two">2</span><span class="four">4</span>
</p>
{{ 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 }}"{{ with .Params.rel }} rel="{{ . }}"{{ end }}{{ if hasPrefix .URL "https://" }} target="_blank"{{ end }}>{{ .Name }}</a>
{{ end }}
</nav>
</footer>
</body>
</html>