From 3b8e9e3df6d42cbfb620fb6529c1f02b1c8ea168 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Tue, 9 Apr 2024 22:10:09 +0200 Subject: [PATCH] Add links to EduGit in footer --- config.toml | 4 ++++ templates/footer.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/config.toml b/config.toml index 4edefac9..3e5e7e6b 100644 --- a/config.toml +++ b/config.toml @@ -45,6 +45,10 @@ index_format = "elasticlunr_json" #url = #alt = +[extra.repo.web] +tree = "https://edugit.org/Teckids/team-pr/teckids.org/-/tree/master/content" +issues = "https://edugit.org/Teckids/team-pr/teckids.org/-/issues" + [extra.footer] address = "Kennedyallee 18<br/>53175 Bonn" bank = "<b>IBAN:</b> DE31 3705 0198 1933 0485 46<br/><b>BIC:</b> COLSDE33XXX<br/>Sparkasse KoelnBonn" diff --git a/templates/footer.html b/templates/footer.html index 24c91367..cfcf4060 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -47,3 +47,7 @@ </aside> </div> </div> + <aside class="section has-text-centered is-size-7"> + Erstellt mit <a href="https://www.getzola.org/">Zola</a> und <a href="https://bulma.io/">Bulma</a><br/> + {% if thing.path %}Diese Seite kann <a href="{{ config.extra.repo.web.tree }}/{{ thing.relative_path }}">auf EduGit editiert werden</a> oder <a href="{{ config.extra.repo.web.issues }}">eine Verbesserung vorgeschlagen werden</a>.<br/>{% endif %} + </aside> -- GitLab