Jumbotron: take content if defined in the block

This commit is contained in:
Pablo Vazquez 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
.lead
=text
if block
block
else
.jumbotron.text-white(style='background-image: url(' + image + ');')&attributes(attributes)
.container
@ -29,6 +31,8 @@ mixin jumbotron(title, text, image, url)
if text
.lead
=text
if block
block
// {# Secondary navigation.
// e.g. Workshops, Courses. #}