module dans module dans module

This commit is contained in:
2021-03-12 17:04:40 +01:00
parent 405e5094ee
commit 0330bc5f4e
42 changed files with 268 additions and 444 deletions
@@ -0,0 +1,8 @@
{{ page.content|raw }}
{% for module in page.collection() %}
<div id="{{ _self.pageLinkName(module.menu) }}"></div>
{{ module.content|raw }}
{% endfor %}
@@ -0,0 +1,8 @@
{{ page.content|raw }}
{% for module in page.collection() %}
<div id="{{ _self.pageLinkName(module.menu) }}"></div>
{{ module.content|raw }}
{% endfor %}
@@ -1,23 +1,22 @@
<div class="modular-row personnes {{ page.header.class}}">
{{ content|raw }}
<div class="feature-items">
{% for feature in page.header.personnes %}
{% for personne in page.header.personnes %}
<div class="feature">
{% if feature.icon %}
<i class="fa fa-fw fa-{{ feature.icon }}"></i>
{% if personne.icon %}
<i class="fa fa-fw fa-{{ personne.icon }}"></i>
<div class="feature-content icon-offset">
{% else %}
<div class="feature-content">
{% endif %}
{% if feature.nom %}
<h4>{{ feature.nom }}</h4>
{% if personne.nom %}
<h5>{{ personne.nom }}</h5>
{% endif %}
{% if feature.fonction %}
<h6>{{ feature.fonction }}</h6>
{% if personne.fonction %}
<h6>{{ personne.fonction }}</h6>
{% endif %}
{% if feature.biographie %}
<p>{{ feature.biographie }}</p>
{% if personne.biographie %}
<p>{{ personne.biographie }}</p>
{% endif %}
</div>
</div>