public-web/layouts/_default/baseof.html
2022-10-27 14:29:15 +02:00

49 lines
1.8 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.

<!DOCTYPE html>
<html class="font-main leading-normal text-xl" lang="{{ site.LanguageCode | default site.Language.Lang }}" dir="{{ site.Language.LanguageDirection | default "ltr" }}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>{{ block "title" . }}{{ .Title }} {{ site.Title }}{{ end }}</title>
{{ partial "meta.html" . }}
{{ partialCached "styles.html" . }}
{{- block "head" . }}{{ end }}
{{ partial "meta_json_ld.html" . }}
{{ partial "scripts.html" . }}
{{ partialCached "tracking.html" . }}
</head>
<body
class="overflow-x-hidden min-h-screen flex flex-col bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-50"
x-data="{ menuOpen: false }"
x-bind:class="`${menuOpen ? 'overflow-hidden' : ''}`"
>
<header class="py-4">
<div class="container mx-auto px-6 flex items-center lg:mb-4 gap-6">
<a href="{{ "/" | relLangURL }}" title="Home" rel="home" class="mr-auto block h-6">
{{ partial "logo.html" }}
</a>
<div class="flex items-center gap-2">
<span class="max-lg:hidden">{{ partial "language-selector.html" . }}</span>
{{ partial "theme-selector.html" . }}
<button class="button lg:hidden" x-on:click="menuOpen = true">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="32" height="32">
<path fill="none" d="M0 0h24v24H0z"/>
<path fill="currentColor" d="M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"/>
</svg>
</button>
</div>
</div>
{{ partial "menu.html" . }}
</header>
{{ block "main" . }}{{ end }}
<footer class="pt-6 mt-auto">
<div class="container mx-auto px-6 py-6">
<p class="text-gray-900/50 dark:text-gray-50/50">
— No logs, no masters! —
</p>
</div>
</footer>
</body>
</html>