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