Marke up common block in a good way for Related Content

and probably most anything
This commit is contained in:
benjamin melançon 2018-12-31 23:28:43 -05:00
parent 31c27872f3
commit 39ce0ad308

View file

@ -25,13 +25,23 @@
* @see template_preprocess_block()
*/
#}
<div{{ attributes }}>
{{ title_prefix }}
{% if label %}
<h2{{ title_attributes }}>{{ label }}</h2>
{% endif %}
{{ title_suffix }}
{% block content %}
{{ content }}
{% endblock %}
</div>
<section {{ attributes }}.addClass('section'>
<div class="container">
<div class="frow content">
<div class="flow_full">
{{ title_prefix }}
{% if label %}
<div class="titlebar titlebar-bigborder content">
<div class="titlebar_title">
<h3{{ title_attributes }}.addClass(['subtitle', 'is-mono', 'is-4']>{{ label }}</h3>
</div>
</div>
{% endif %}
{{ title_suffix }}
{% block content %}
{{ content }}
{% endblock %}
</div>
</div>
</div>
</section>