mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +01:00
make reel vs masthead configurable
This commit is contained in:
@@ -71,8 +71,8 @@ h1{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.masthead {
|
.masthead {
|
||||||
/*height: 50vh; */
|
height: 50vh;
|
||||||
/* min-height: 250px; */
|
min-height: 250px;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|||||||
@@ -18,11 +18,24 @@
|
|||||||
{% include 'navbar.html' %}
|
{% include 'navbar.html' %}
|
||||||
|
|
||||||
<!-- Site wellcome header style="background-color: #312a2a;" -->
|
<!-- Site wellcome header style="background-color: #312a2a;" -->
|
||||||
<!--
|
{% if "WALLPAPER_REEL" not in conf or not conf["WALLPAPER_REEL"] %}
|
||||||
|
|
||||||
<header class="masthead {% if conf['NO_CENTER_TITLE'] %} {% endif %}"
|
<header class="masthead {% if conf['NO_CENTER_TITLE'] %} {% endif %}"
|
||||||
{% if conf['WALLPAPER_URL'] %} realsrc='{{ conf["WALLPAPER_URL"] }}' {% endif %}
|
{% if conf['WALLPAPER_URL'] %} realsrc='{{ conf["WALLPAPER_URL"] }}' {% endif %}
|
||||||
style="background-image: url('{{ conf["WALLPAPER_URL"] }}');">
|
style="background-image: url('{{ conf["WALLPAPER_URL"] }}');">
|
||||||
-->
|
<div class="{% if conf['NO_CENTER_TITLE'] %} pb-4 pl-2 pr-2 {% else %} container {% endif %}
|
||||||
|
{% if conf['WALLPAPER_URL'] %} h-50 {% endif %}">
|
||||||
|
<div class="row h-100 align-items-center">
|
||||||
|
<div class="col-12 {% if not conf['NO_CENTER_TITLE'] %} text-center {% endif %}">
|
||||||
|
<div style="opacity: 0;"></div>
|
||||||
|
{% if "SITE_WELLCOME_TITLE" in conf %} <h1 class="pt-4 font-weight-light" style="{{ conf['SITE_WELLCOME_TITLE_CSS'] | safe }}">{{ conf["SITE_WELLCOME_TITLE"] | safe }}</h1> {% endif %}
|
||||||
|
{% if "SITE_WELLCOME_SUBTITLE" in conf %} <p class="pt-4 title-responsive font-weight-light" style="{{ conf['SITE_WELLCOME_TITLE_CSS'] | safe }}">{{ conf["SITE_WELLCOME_SUBTITLE"] | safe }}</p> {% endif %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
<div id="carouselIndicators" class="carousel slide" data-ride="carousel">
|
<div id="carouselIndicators" class="carousel slide" data-ride="carousel">
|
||||||
<ol class="carousel-indicators">
|
<ol class="carousel-indicators">
|
||||||
@@ -51,22 +64,6 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<div class="{% if conf['NO_CENTER_TITLE'] %} pb-4 pl-2 pr-2 {% else %} container {% endif %}
|
|
||||||
{% if conf['WALLPAPER_URL'] %} h-50 {% endif %}">
|
|
||||||
<div class="row h-100 align-items-center">
|
|
||||||
<div class="col-12 {% if not conf['NO_CENTER_TITLE'] %} text-center {% endif %}">
|
|
||||||
<div style="opacity: 0;"></div>
|
|
||||||
{% if "SITE_WELLCOME_TITLE" in conf %} <h1 class="pt-4 font-weight-light" style="{{ conf['SITE_WELLCOME_TITLE_CSS'] | safe }}">{{ conf["SITE_WELLCOME_TITLE"] | safe }}</h1> {% endif %}
|
|
||||||
{% if "SITE_WELLCOME_SUBTITLE" in conf %} <p class="pt-4 title-responsive font-weight-light" style="{{ conf['SITE_WELLCOME_TITLE_CSS'] | safe }}">{{ conf["SITE_WELLCOME_SUBTITLE"] | safe }}</p> {% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- events -->
|
<!-- events -->
|
||||||
{% include 'events.html' %}
|
{% include 'events.html' %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user