make wallpaper url configurable

This commit is contained in:
2020-07-28 00:52:04 +02:00
parent c0ec7b0058
commit f2a13acdee
3 changed files with 3 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ SITE_AUTHOR = "Site Author"
SITE_LOGO_URL = "Site Logo URL"
SITE_BASE_URL = "Site Base URL"
WALLPAPER_URL = "/picture/example.png"
TEAMSPEAK_SERVER = "teamspeak.com"
DISCORD_SERVER = "https://discord.gg/",
FACEBOOK = "https://www.facebook.com/",

View File

@@ -5,7 +5,6 @@ html {
.masthead {
height: 50vh;
min-height: 250px;
background-image: url('/static/pictures/wallpaper.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;

View File

@@ -15,7 +15,7 @@
{% include 'navbar.html' %}
<!-- Site wellcome header -->
<header class="masthead">
<header class="masthead" style="background-image: url('{{ conf["WALLPAPER_URL"] }}');">
<div class="container h-50">
<div class="row h-100 align-items-center">
<div class="col-12 text-center">