diff --git a/example_config.py b/example_config.py index c4d02c7..1918a3e 100644 --- a/example_config.py +++ b/example_config.py @@ -22,6 +22,8 @@ SITE_LOGO_URL = "Site Logo URL" 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" TEAMSPEAK_SERVER = "teamspeak.com" DISCORD_SERVER = "https://discord.gg/" diff --git a/templates/index.html b/templates/index.html index 2777ade..3dcc687 100644 --- a/templates/index.html +++ b/templates/index.html @@ -19,8 +19,10 @@
-
+
+ {% if "SITE_WELLCOME_TITLE" in conf %}

{{ conf["SITE_WELLCOME_TITLE"] }}

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

{{ conf["SITE_WELLCOME_SUBTITLE"] }}

{% endif %}