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()
|
||||
*/
|
||||
#}
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue