Format source code: Indent contents of if statement
This commit is contained in:
parent
bb3305e14a
commit
52017beec2
1 changed files with 15 additions and 15 deletions
|
@ -84,12 +84,12 @@
|
|||
{% endif %}
|
||||
|
||||
{% if not has_title_paragraph %}
|
||||
{% set classes = [ 'hero', 'hero-' ~ node.bundle|replace({"_": "-"}) ] %}
|
||||
{% if node.bundle != 'blog' %}
|
||||
{% set classes = [ 'hero', 'hero-' ~ node.bundle|replace({"_": "-"}) ] %}
|
||||
{% if node.bundle != 'blog' %}
|
||||
{% set classes = classes|merge(['is-dark']) %}
|
||||
{% endif %}
|
||||
{# Header hero region #}
|
||||
<section{{ attributes.addClass(classes) }}>
|
||||
{% endif %}
|
||||
{# Header hero region #}
|
||||
<section{{ attributes.addClass(classes) }}>
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<h1 class="title is-2">{{ label }}</h1>
|
||||
|
@ -99,7 +99,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
<section class="section" data-headerbg="light">
|
||||
|
|
Loading…
Reference in a new issue