winkekatze.tv/templates/layout.html

70 lines
2.1 KiB
HTML
Raw Normal View History

2022-01-09 17:33:15 +01:00
<!doctype html>
{%- macro titlestring() -%}
{%- block title -%}
Welcome
{%- endblock -%}
{{ ' — winkekatze.tv' }}
2022-01-09 17:33:15 +01:00
{%- endmacro -%}
{%- macro descriptionstring() -%}
{%- block description -%}
Winkekatze Video Operation Center
{%- endblock -%}
{{ ' — winkekatze.tv' }}
{%- endmacro -%}
{%- macro cssfile() -%}
{%- block scss -%}
css/main.min.css
{%- endblock -%}
2022-01-09 17:33:15 +01:00
{%- endmacro -%}
<html lang="{{ this.alt }}">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="{{ cssfile()|asseturl }}">
2022-01-09 17:33:15 +01:00
<title>{{- titlestring() -}}</title>
<meta name="generator" content="lektor" />
<meta name="description" content="{{- descriptionstring() -}}">
<meta name="author" content="L3D">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
<meta property="og:url" content="{{ this | url(external=true) }}">
<meta property="og:type" content="website">
<meta property="og:title" content="{{- titlestring() -}}">
<meta property="og:description" content="{{- descriptionstring() -}}">
</head>
<body>
<header>
2022-01-18 04:05:22 +01:00
<h1 id="top"><a href="/">
{%- block sitetitle -%}
winkekatze.tv
{%- endblock -%}
</a></h1>
2022-01-09 17:33:15 +01:00
<nav>
<ul class="nav navbar-nav">
{%- for href, title in [
2022-01-18 04:05:22 +01:00
['/haello', 'Hällo'],
['/events', 'Veranstaltungen'],
['/datenschutz', 'Datenschutzerklärung'],
2022-01-09 20:12:56 +01:00
['https://c3woc.de/impressum/', 'Impressum']
2022-01-09 17:33:15 +01:00
] %}
<li
{%- if this.is_child_of(href) %} class="active"{%- endif -%}>
2022-01-09 20:12:56 +01:00
<a href="{{ href }}">{{ title }}</a>
2022-01-09 17:33:15 +01:00
</li>
{%- endfor %}
</ul>
</nav>
</header>
<div class="
{%- block class -%}
page
{%- endblock -%}">
2022-01-09 17:33:15 +01:00
{%- block body -%}
<p>Hello World</p>
{%- endblock %}
2022-01-09 17:33:15 +01:00
</div>
<footer>
2022-01-21 02:16:56 +01:00
&copy; Copyright {{ none|datetimeformat('YYYY', 'UTC') }} by L3D under <a href="https://backwesen.de/voc/winkekatze.tv/src/branch/main/LICENCE">MIT License</a> | <a href="https://backwesen.de/voc/winkekatze.tv.git">Source Code</a>
2022-01-09 17:33:15 +01:00
</footer>
</body>