1 changed files with 22 additions and 0 deletions
@ -0,0 +1,22 @@
|
||||
{% |
||||
set classes = [ |
||||
'block', |
||||
'block-' ~ configuration.provider|clean_class, |
||||
'block-' ~ plugin_id|clean_class, |
||||
layout ? 'layout--' ~ layout|clean_class, |
||||
] |
||||
%} |
||||
|
||||
<div{{ attributes.addClass(classes) }}> |
||||
{{ title_prefix }} |
||||
{% if label %} |
||||
<h2{{ title_attributes.addClass('block__title') }}>{{ label }}</h2> |
||||
{% endif %} |
||||
{{ title_suffix }} |
||||
{% block content %} |
||||
<div{{ content_attributes.addClass('block__content') }}> |
||||
{{ content }} |
||||
</div> |
||||
{% endblock %} |
||||
<a href="/search/tips" class="button">Search Help</a> |
||||
</div> |
||||
Loading…
Reference in new issue