blueprints personnes et features
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div class="modular-row features {{ page.header.class}}">
|
||||
|
||||
{{ content|raw }}
|
||||
{{ dump(page) }}
|
||||
|
||||
<div class="feature-items">
|
||||
{% for feature in page.header.features %}
|
||||
<div class="feature">
|
||||
@@ -12,7 +12,7 @@
|
||||
<div class="feature-content">
|
||||
{% endif %}
|
||||
{% if feature.header %}
|
||||
<h4>{{ feature.header }}</h4>
|
||||
<h3>{{ feature.header }}</h3>
|
||||
{% endif %}
|
||||
{% if feature.text %}
|
||||
<p>{{ feature.text }}</p>
|
||||
|
||||
@@ -1,29 +1,23 @@
|
||||
<div class="modular-row features {{ page.header.class}}">
|
||||
<div class="modular-row personnes {{ page.header.class}}">
|
||||
{{ content|raw }}
|
||||
<div class="feature-items">
|
||||
{% for feature in page.header.personnes %}
|
||||
<div class="personnes">
|
||||
<div class="feature">
|
||||
{% if feature.icon %}
|
||||
<i class="fa fa-fw fa-{{ feature.icon }}"></i>
|
||||
<div class="feature-content icon-offset">
|
||||
{% else %}
|
||||
|
||||
{# ai essayé de changer les nom et class avec nouveaux champs mais marche pas #}
|
||||
<div class="personnes-content">
|
||||
{% endif %}
|
||||
{% if personnes.nom %}
|
||||
<h4>{{ personnes.nom }}</h4>
|
||||
{% endif %}
|
||||
|
||||
{# voici l'original du module features pré existant #}
|
||||
<div class="feature-content">
|
||||
{% endif %}
|
||||
{% if feature.header %}
|
||||
<h4>{{ feature.header }}</h4>
|
||||
{% if feature.nom %}
|
||||
<h4>{{ feature.nom }}</h4>
|
||||
{% endif %}
|
||||
|
||||
{% if feature.text %}
|
||||
<p>{{ feature.text }}</p>
|
||||
|
||||
{% if personnes.biographie %}
|
||||
<p>{{ personnes.biographie }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user