Skip to content

Commit

Permalink
1152: Fixed rendering of headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rimi-itk committed Apr 10, 2024
1 parent c2a0722 commit 02fb5e9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
<div class="container">
<div class="row">
<div class="col-md-8 my-3 my-md-5">
<h1 class="title underlined is-white hero__title">{{ header|without('dynamic_block_field:node-hearing_warning') }}</h1>
<h1 class="title underlined is-white hero__title">
{% if header['dynamic_block_field:node-hearing_warning'] is defined %}
{{ header|without('dynamic_block_field:node-hearing_warning') }}
{% else %}
{{ header }}
{% endif %}
</h1>
{% if teaser %}
{{ teaser }}
{% endif %}
Expand Down

0 comments on commit 02fb5e9

Please sign in to comment.