From f1305f8acff7f19fd5ac057a62b98d6bdc1d2137 Mon Sep 17 00:00:00 2001 From: Jake <j.vondoemming@stud.uni-goettingen.de> Date: Mon, 3 Oct 2022 03:07:28 +0200 Subject: [PATCH] added footer config option --- config.json | 1 + theme/templates/base.html | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/config.json b/config.json index bb49f0d..cc5bb13 100644 --- a/config.json +++ b/config.json @@ -6,6 +6,7 @@ "static_dir": "theme", "css_file": "main.css", "default_template": "page.html", + "footer": [], "global_before": [], "global_after": [] }, diff --git a/theme/templates/base.html b/theme/templates/base.html index dfbba61..7551484 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -73,13 +73,7 @@ {% endblock global_after %} <footer id="site-footer"> - {#- TODO besserer footer -#} - <div> - <a href="https://asta.uni-goettingen.de/impressum/datenschutz/">Datenschutz</a> - <a href="/fg-website/Impressum.md">Impressum</a> - </div> - <div>Fachgruppe Informatik Göttingen, 2022.</div> - <!-- blablabla datenschutz,impressum etc... --> + {{ render.sections(config.theme.footer, lang, 2) }} </footer> </body> <!-- The Cake Is A Lie! --> -- GitLab