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

61 lines
2.4 KiB
HTML
Raw Normal View History

2022-06-27 17:27:51 +02:00
{{ $currentPage := . }}
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="utf-8">
{{ block "viewport" . }}
2022-06-27 17:27:51 +02:00
<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-2023.png">
<meta property="og:locale" content="{{ .Site.LanguageCode }}">
2022-06-27 17:27:51 +02:00
<title>{{ block "title" . }}{{ .Title }} &ndash; {{ .Site.Title }}{{ end }}</title>
2022-07-08 23:44:37 +02:00
<link rel="icon" href="/icon.svg" sizes="any" type="image/svg+xml">
2022-06-27 17:27:51 +02:00
{{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>
<body>
<header>
2022-07-08 23:47:19 +02:00
<div class="header-brand">
2023-03-17 20:03:57 +01:00
<a href="{{ relref . "/" }}">
<img alt="Logo der Intergalaktischen Erfahrungsreise, kurz IGER" class="header-logo" src="/logo.svg">
<pre><span>I</span>nter
2022-12-01 19:40:54 +01:00
<span>G</span>alaktische
<span>E</span>rfahrungs
<span>R</span>eise</pre>
2023-03-17 20:03:57 +01:00
</a>
2022-07-08 23:47:19 +02:00
</div>
2022-07-02 01:26:23 +02:00
<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>
2023-03-17 19:51:07 +01:00
<p class="upcoming">
23.000 Meilen <span class="uber">uber</span> dem Meer<br>
20.-&#8203;23.&#8203;7.&#8203;2023<br>
<span class="detail"><a href="{{ relref . "/faq#was-ist-eigentlich-eine-_intergalaktische-erfahrungsreise_" }}">eine Konferenz des backspace&nbsp;e.&nbsp;V. in Bamberg</a></span>
2023-03-17 19:51:07 +01:00
</p>
2022-06-27 17:27:51 +02:00
{{ block "main" . }}
{{ end }}
</main>
<footer>
<nav>
{{ range .Site.Menus.footer }}
2022-07-09 21:02:58 +02:00
<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>
2022-06-27 17:27:51 +02:00
{{ end }}
</nav>
</footer>
</body>
</html>