From e262a5c240f40cd2c844036db82e51f4d9ec1ca4 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 19 Sep 2018 12:39:18 +0200 Subject: [PATCH] Jumbotron: take content if defined in the block --- src/templates/mixins/components.pug | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/templates/mixins/components.pug b/src/templates/mixins/components.pug index 1c31a016..ba9195f0 100644 --- a/src/templates/mixins/components.pug +++ b/src/templates/mixins/components.pug @@ -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. #}