From 50f5a2210ebdcd8bf1237493f12886cdb20021dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=9A=D0=B0=D1=81=D0=B8?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Tue, 5 Feb 2019 00:40:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20jumbotron?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flatfilecms/templates/base.jinja2 | 1 - .../templates/bootstrap/fullscreen-jumbotron.jinja2 | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/flatfilecms/templates/base.jinja2 b/flatfilecms/templates/base.jinja2 index d46b4cb..f4304cd 100644 --- a/flatfilecms/templates/base.jinja2 +++ b/flatfilecms/templates/base.jinja2 @@ -1,5 +1,4 @@ {%- import 'macros.jinja2' as macros -%} -{%- import 'forms.jinja2' as forms -%} diff --git a/flatfilecms/templates/bootstrap/fullscreen-jumbotron.jinja2 b/flatfilecms/templates/bootstrap/fullscreen-jumbotron.jinja2 index 88358a9..28c5a73 100644 --- a/flatfilecms/templates/bootstrap/fullscreen-jumbotron.jinja2 +++ b/flatfilecms/templates/bootstrap/fullscreen-jumbotron.jinja2 @@ -1,6 +1,6 @@ -
-
-

{{jumbotron_header}}

+<{{jumbotron_tag|default('div')}} style="{%if jumbotron_image%}background: url({{jumbotron_image}}) no-repeat center center; background-size: cover; {%endif%}min-height: 100vh" class="d-flex align-items-center"{%if jumbotron_id%} id="{{jumbotron_id}}"{%endif%}> +
+ {% if jumbotron_header %}

{{jumbotron_header}}

{%endif%} {{jumbotron_content}}
-
+