chaoswest.tv/templates/layout.html

44 lines
1.5 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>
Letztes update am {{ none | datetimeformat('YYYY-MM-dd') }} unter der <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA 4.0</a> Lizenz, sofern nicht anders angegeben. <a href="/impressum">Impressum</a>
</footer>
</div>
</body>