diff --git a/templates/partials/shortcodes/box.html.twig b/templates/partials/shortcodes/box.html.twig index ff59168..3b0b427 100644 --- a/templates/partials/shortcodes/box.html.twig +++ b/templates/partials/shortcodes/box.html.twig @@ -1,4 +1,5 @@ {#{% set boxStyle = shortcode.getParameter('style', '') %}#} +{% set boxColor = shortcode.getParameter('color', 'primary') %} {% set boxHeading = shortcode.getParameter('heading', shortcode.getBbCode()) %} {% set boxLevel = shortcode.getParameter('level', '3') %} {% set boxImage = shortcode.getParameter('image', '') %} @@ -15,7 +16,7 @@ {% set pagePath = uri.route(true) %} {% set imagePath = pagePath ~ '/' ~ boxImage %} -
+
{% if boxImage %} {{ boxImageAlt }}