chaoswest.tv/templates/layout.html

46 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 -%}
{%- macro cssfile() -%}
{%- block scss -%}
css/main.min.css
{%- endblock -%}
{%- endmacro -%}
<html lang="{{ this.alt }}">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="{{ cssfile()|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>
{%- include "blocks/header.html" -%}
{%- include "blocks/navigation.html" -%}
<main>
{%- block body -%}
{%- endblock %}
</main>
<footer>
&copy; Copyright {{ none|datetimeformat('YYYY', 'UTC') }} by Montage2 under <a href="https://gitlab.montage2.de/montage2/chaoswest.tv/-/blob/main/LICENSE">MIT License</a> | <a href="https://gitlab.montage2.de/montage2/chaoswest.tv.git">Source Code</a>
</footer>
</body>