mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +01:00
make wallpaper url configurable
This commit is contained in:
@@ -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/",
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user