add contact footer config

This commit is contained in:
Yannik Schmidt
2020-09-08 02:16:08 +02:00
parent e527ece7bd
commit 0e48d05c3d
2 changed files with 7 additions and 1 deletions

View File

@@ -59,3 +59,4 @@ THANKS_TEXT = "Normal Text"
DISABLE_MAIN_LINKS = False DISABLE_MAIN_LINKS = False
NAVBAR_LINKS = [ ("Navbar-Item1", "/target"), ("Navbar-Item2", "/target2") ] NAVBAR_LINKS = [ ("Navbar-Item1", "/target"), ("Navbar-Item2", "/target2") ]
IMPRESSUM_IS_CONTACT = True

View File

@@ -1,3 +1,8 @@
<div class="footer-copyright {% if footerFixBottom %} fixed-bottom {% endif %}text-center py-3 bg-dark" style="position: relative; bottom: 0;"> <div class="footer-copyright {% if footerFixBottom %} fixed-bottom {% endif %}text-center py-3 bg-dark" style="position: relative; bottom: 0;">
<a style="color: rgba(255,255,255,.5);" href="/impressum">Impressum/Kontakt</a> {% if conf["IMPRESSUM_IS_CONTACT"] %}
<a style="color: rgba(255,255,255,.5);" href="/impressum">Impressum/Kontakt</a>
{% else %}
<a class="mr-2" style="color: rgba(255,255,255,.5);" href="/impressum">Impressum</a>
<a class="ml-2" style="color: rgba(255,255,255,.5);" href="/contact">Kontakt</a>
{% endif %}
</div> </div>