Sneak container class on here to avoid an extra div

... this is a divergence from Todd's markup and may come back to bite me.
This commit is contained in:
benjamin melançon 2018-10-20 23:39:50 -04:00
parent 0fa20b525e
commit 96e3c54c7a

View file

@ -7,7 +7,7 @@
%} %}
{% set attributes = attributes.addClass(classes).setAttribute('data-headerbg', 'light') %} {% set attributes = attributes.addClass(classes).setAttribute('data-headerbg', 'light') %}
<section{{ attributes }}> <section{{ attributes }}>
<div class="hero-body subtitle is-mono is-4"> <div class="hero-body subtitle is-mono is-4 container">
{{ title_prefix }} {{ title_prefix }}
{% if label %} {% if label %}
<h2{{ title_attributes }}>{{ label }}</h2> <h2{{ title_attributes }}>{{ label }}</h2>