Show subtitle in hero in title bar mode (ommitting the subtitle field can revert the look)

This commit is contained in:
dave onion 2025-12-19 11:17:59 -05:00
parent 707002c326
commit 08396bb61d

View file

@ -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 %}