From c7f893239ffa1968cdfb38cea6b97d496cc17785 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 14 Feb 2021 20:51:58 +0100 Subject: [PATCH 1/2] start adding jinja2 stuff to layout.html --- templates/layout.html | 58 ++++++++++++++++++++++++++++++++----------- 1 file changed, 43 insertions(+), 15 deletions(-) diff --git a/templates/layout.html b/templates/layout.html index ad75c70..12d1574 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,8 +1,24 @@ - + + - - - - - Werkkooperative der Technikfreundinnen eG - +-#} + + + + Werkkooperative der Technikfreundinnen eG + - - - - - - - + {% if '/css/reset.css'|asseturl is defined -%} + + {%- endif %} + {% if '/css/fonts.css'|asseturl is defined -%} + + {%- endif %} + + {% if 'apple-touch-icon.png'|asseturl is defined -%} + + {%- endif %} + {% if 'favicon-32x32.png'|asseturl is defined -%} + + {%- endif %} + {% if 'favicon-96x96.png'|asseturl is defined -%} + + {%- endif %} + {% if 'manifest.json'|asseturl is defined -%} + + {%- endif %}
From 5a247b9dcf9be0d68f96640f6536a470358d1d95 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 14 Feb 2021 21:30:06 +0100 Subject: [PATCH 2/2] implement multilanguage support in menu --- templates/header.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/header.html b/templates/header.html index 6462428..67ce773 100644 --- a/templates/header.html +++ b/templates/header.html @@ -3,16 +3,20 @@