Format source code: Indent contents of if statement

This commit is contained in:
benjamin melançon 2018-11-19 20:03:51 -05:00
parent bb3305e14a
commit 52017beec2

View file

@ -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">