diff --git a/example_config.py b/example_config.py index c1bc3de..84d2adf 100644 --- a/example_config.py +++ b/example_config.py @@ -24,6 +24,9 @@ SITE_BASE_URL = "Site Base URL" WALLPAPER_URL = "/picture/example.png" SITE_WELLCOME_TITLE = "Title on the Wallpaper" SITE_WELLCOME_SUBTITLE = "Subtitle on the Wallpaper" +SITE_WELLCOME_TITLE_CSS = "color: green; font-size: 4vw;" + +NO_CENTER_TITLE = False TEAMSPEAK_SERVER = "teamspeak.com" DISCORD_SERVER = "https://discord.gg/" @@ -52,3 +55,5 @@ SMTP_MUST_BE_CONNECTED = False THANKS_TITLE = "Thank you for something!" THANKS_STRONG_TEXT = "Strong Text" THANKS_TEXT = "Normal Text" + +DISABLE_MAIN_LINKS = False diff --git a/static/site.css b/static/site.css index 7e70f0e..bd0d28d 100644 --- a/static/site.css +++ b/static/site.css @@ -4,7 +4,7 @@ html { } .masthead { - height: 50vh; + /*height: 50vh; */ min-height: 250px; background-size: cover; background-position: center; diff --git a/templates/index.html b/templates/index.html index 564da7c..9a87004 100644 --- a/templates/index.html +++ b/templates/index.html @@ -17,14 +17,17 @@ {% include 'navbar.html' %} -
-
+
+
-
+
- {% if "SITE_WELLCOME_TITLE" in conf %}

{{ conf["SITE_WELLCOME_TITLE"] }}

{% endif %} - {% if "SITE_WELLCOME_SUBTITLE" in conf %}

{{ conf["SITE_WELLCOME_SUBTITLE"] }}

{% endif %} + {% if "SITE_WELLCOME_TITLE" in conf %}

{{ conf["SITE_WELLCOME_TITLE"] | safe }}

{% endif %} + {% if "SITE_WELLCOME_SUBTITLE" in conf %}

{{ conf["SITE_WELLCOME_SUBTITLE"] | safe }}

{% endif %}
@@ -34,7 +37,7 @@ {% include 'events.html' %} -{% if mainLinks %} +{% if mainLinks and not conf["DISABLE_MAIN_LINKS"] %}