Jumbotron: take content if defined in the block

This commit is contained in:
2018-09-19 12:39:18 +02:00
parent e079ac4da1
commit e262a5c240

View File

@@ -18,6 +18,8 @@ mixin jumbotron(title, text, image, url)
if text if text
.lead .lead
=text =text
if block
block
else else
.jumbotron.text-white(style='background-image: url(' + image + ');')&attributes(attributes) .jumbotron.text-white(style='background-image: url(' + image + ');')&attributes(attributes)
.container .container
@@ -29,6 +31,8 @@ mixin jumbotron(title, text, image, url)
if text if text
.lead .lead
=text =text
if block
block
// {# Secondary navigation. // {# Secondary navigation.
// e.g. Workshops, Courses. #} // e.g. Workshops, Courses. #}