start adding jinja2 stuff to layout.html

This commit is contained in:
L3D 2021-02-14 20:51:58 +01:00
parent 5e8e2a6c1f
commit c7f893239f
No known key found for this signature in database
GPG Key ID: CD08445BFF4313D1

View File

@ -1,8 +1,24 @@
<!doctype html>
<html lang="de">
<html
{%- if alt %} lang="{{ alt }}"
{%- endif %}>
<!--
__ ____________________
\ \ \_______. .________|
\ \ / /| | ________
\ \ . / / | | | ____|
\ \ / \ / / | | | |__
\ \/ . \/ / | | | __|
\ / \ / | | | |
\/ \/ |_| |_|
*WTF Kooperative eG*
Werkkooperative der
Technikfreundinnen
-->
<head>
<!--
{#
Namensschema der CSS-Klassen nach BEM (Block Element Modifier,
http://getbem.com/naming/). Mit der Erweiterung, dass Modifier einzeln
mit Bindestrich angegeben werden. Also:
@ -15,20 +31,32 @@
dazu ist:
.navlist__navitem.-active
-->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Werkkooperative der Technikfreundinnen eG</title>
<meta name="description" content="">
-#}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Werkkooperative der Technikfreundinnen eG</title>
<meta name="description" content="">
<link rel="stylesheet" href="{{ '/css/reset.css'|url }}">
<link rel="stylesheet" href="{{ '/css/fonts.css'|url }}">
<link rel="stylesheet" href="{{ '/css/style.css'|url }}">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-96x96.png">
<link rel="manifest" href="manifest.json">
{% if '/css/reset.css'|asseturl is defined -%}
<link rel="stylesheet" href="{{ '/css/reset.css'|asseturl }}">
{%- endif %}
{% if '/css/fonts.css'|asseturl is defined -%}
<link rel="stylesheet" href="{{ '/css/fonts.css'|asseturl }}">
{%- endif %}
<link rel="stylesheet" href="{{ '/css/style.css'|asseturl }}">
{% if 'apple-touch-icon.png'|asseturl is defined -%}
<link rel="apple-touch-icon" sizes="180x180" href="{{ 'apple-touch-icon.png'|asseturl }}">
{%- endif %}
{% if 'favicon-32x32.png'|asseturl is defined -%}
<link rel="icon" type="image/png" sizes="32x32" href="{{ 'favicon-32x32.png'|asseturl }}">
{%- endif %}
{% if 'favicon-96x96.png'|asseturl is defined -%}
<link rel="icon" type="image/png" sizes="16x16" href="{{ 'favicon-96x96.png'|asseturl }}">
{%- endif %}
{% if 'manifest.json'|asseturl is defined -%}
<link rel="manifest" href="{{ 'manifest.json'|asseturl }}">
{%- endif %}
</head>
<body>
<header>