Marke up common block in a good way for Related Content
and probably most anything
This commit is contained in:
parent
31c27872f3
commit
39ce0ad308
1 changed files with 20 additions and 10 deletions
|
@ -25,13 +25,23 @@
|
||||||
* @see template_preprocess_block()
|
* @see template_preprocess_block()
|
||||||
*/
|
*/
|
||||||
#}
|
#}
|
||||||
<div{{ attributes }}>
|
<section {{ attributes }}.addClass('section'>
|
||||||
{{ title_prefix }}
|
<div class="container">
|
||||||
{% if label %}
|
<div class="frow content">
|
||||||
<h2{{ title_attributes }}>{{ label }}</h2>
|
<div class="flow_full">
|
||||||
{% endif %}
|
{{ title_prefix }}
|
||||||
{{ title_suffix }}
|
{% if label %}
|
||||||
{% block content %}
|
<div class="titlebar titlebar-bigborder content">
|
||||||
{{ content }}
|
<div class="titlebar_title">
|
||||||
{% endblock %}
|
<h3{{ title_attributes }}.addClass(['subtitle', 'is-mono', 'is-4']>{{ label }}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{{ title_suffix }}
|
||||||
|
{% block content %}
|
||||||
|
{{ content }}
|
||||||
|
{% endblock %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue