chaoswest.tv/templates/layout.html

47 lines
1.6 KiB
HTML

<!doctype html>
{%- macro titlestring() -%}
{%- block title -%}
Welcome
{%- endblock -%}
{{ ' — chaoswest.tv' }}
{%- endmacro -%}
{%- macro descriptionstring() -%}
{%- block description -%}
Chaos-West TV
{%- endblock -%}
{{ ' — chaoswest.tv' }}
{%- endmacro -%}
<html lang="{{ this.alt }}">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="{{ "css/normalize.min.css" |asseturl }}">
<link rel="stylesheet" href="{{ "css/main.min.css" |asseturl }}">
<title>{{- titlestring() -}}</title>
<meta name="generator" content="lektor" />
<meta name="description" content="{{- descriptionstring() -}}">
<meta name="author" content="Chaos-West TV">
<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>
<div class="container">
{%- include "blocks/header.html" -%}
{%- include "blocks/navigation.html" -%}
<main>
{%- block body -%}
{%- endblock %}
</main>
<footer>
<p>Letzte Änderung am {{ none | datetimeformat('YYYY-MM-dd') }}. Inhalte veröffentlich unter <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA 4.0</a> Lizenz, sofern nicht anders angegeben.</p>
<p>
<a href="/impressum">Impressum</a>
</p>
</footer>
</div>
</body>