Jumbotron: take content if defined in the block
This commit is contained in:
@@ -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. #}
|
||||||
|
Reference in New Issue
Block a user