Show subtitle in hero in title bar mode (ommitting the subtitle field can revert the look)
This commit is contained in:
parent
707002c326
commit
08396bb61d
1 changed files with 5 additions and 2 deletions
|
|
@ -85,7 +85,10 @@
|
|||
<div class="container">
|
||||
<div class="titlebar">
|
||||
<div class="titlebar_title">
|
||||
<h1 class="title is-2">{{ content.field_title.0 }}</h1>
|
||||
<h1 class="title is-spaced is-2">{{ content.field_title.0 }}</h1>
|
||||
{% if paragraph.field_subtitle.value %}
|
||||
<h2 class="subtitle is-4 mt-4">{{ content.field_subtitle.0 }}</h2>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -93,4 +96,4 @@
|
|||
{% endif %}
|
||||
{% endblock %}
|
||||
</section>
|
||||
{% endblock paragraph %}
|
||||
{% endblock paragraph %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue