From e28058040c1e2aeefdbfce565830b91be31eb24b Mon Sep 17 00:00:00 2001 From: gws Date: Fri, 8 Nov 2024 12:53:41 +0100 Subject: [PATCH] init theme toggle --- templates/_macros.html | 5 +++-- templates/_variables.html | 43 +++++++++++++++++++++++++++++++++++++++ templates/index.html | 5 ++++- 3 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 templates/_variables.html diff --git a/templates/_macros.html b/templates/_macros.html index 69a8ec8..ba5e8c7 100644 --- a/templates/_macros.html +++ b/templates/_macros.html @@ -33,9 +33,10 @@ {% endfor %} {% if lang == "en"%} - + swedish {% else %} - english {% endif %} diff --git a/templates/_variables.html b/templates/_variables.html new file mode 100644 index 0000000..35977c2 --- /dev/null +++ b/templates/_variables.html @@ -0,0 +1,43 @@ + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 0dc60a6..39425e5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -26,9 +26,12 @@ +Software, Product Developement and IT consulting + + {% endblock head %} - + {% block header %}