refactor: rationalize whitespace

This commit is contained in:
Cyril MARPAUD
2023-03-14 11:29:35 +01:00
parent 63e21f0fe0
commit 295c9151f4
5 changed files with 50 additions and 53 deletions

View File

@ -1,15 +1,12 @@
{{ section.content | safe }}
<div class="columns">
{% for page in section.pages %}
<div>
<h2>{{ page.title }}</h2>
{% for icon in page.extra.icons | default(value=[]) %}
<i class="{{ icon }} fa-3x"></i>
{% endfor %}
{{ page.content | safe }}
</div>
{% endfor %}
</div>
<div class="columns">
{%- for page in section.pages %}
<div>
<h2>{{ page.title }}</h2>
{% for icon in page.extra.icons | default(value=[]) -%}
<i class="{{ icon }} fa-3x"></i>
{%- endfor %}
{{ page.content | safe }}
</div>
{%- endfor %}
</div>