mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +01:00
add wellcome msg config
This commit is contained in:
@@ -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/"
|
||||
|
||||
@@ -19,8 +19,10 @@
|
||||
<div class="container h-50">
|
||||
<div class="row h-100 align-items-center">
|
||||
<div class="col-12 text-center">
|
||||
<div style="opacity: 0;"></div>
|
||||
<div style="opacity: 0;"></div> <!-- TODO color for text configurable -->
|
||||
<div class="mt-5" style="opacity: 0;"></div>
|
||||
{% if "SITE_WELLCOME_TITLE" in conf %} <h1 class="font-weight-light">{{ conf["SITE_WELLCOME_TITLE"] }}</h1> {% endif %}
|
||||
{% if "SITE_WELLCOME_SUBTITLE" in conf %} <p class="lead">{{ conf["SITE_WELLCOME_SUBTITLE"] }}</p> {% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user