programme.html.twig/.yalm/.md
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
{% if personne.biographie %}
|
||||
<p>{{ personne.biographie }}</p>
|
||||
{% endif %}
|
||||
{% if personne.portrait %}
|
||||
<img src="{{ page.media[page.header.personnes.portrait] }}" alt="portrait" />
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
@@ -1,19 +1,22 @@
|
||||
<div class="modular-row programmes{{ page.header.class}}">
|
||||
{{ content|raw }}
|
||||
<div class="feature-items">
|
||||
{% for feature in page.header.features %}
|
||||
{% for programme in page.header.programmes %}
|
||||
<div class="feature">
|
||||
{% if feature.icon %}
|
||||
<i class="fa fa-fw fa-{{ feature.icon }}"></i>
|
||||
{% if programme.icon %}
|
||||
<i class="fa fa-fw fa-{{ programme.icon }}"></i>
|
||||
<div class="feature-content icon-offset">
|
||||
{% else %}
|
||||
<div class="feature-content">
|
||||
{% endif %}
|
||||
{% if feature.header %}
|
||||
<h4>{{ feature.header }}</h4>
|
||||
{% if programme.nom_du_programme %}
|
||||
<h4>{{ programme.nom_du_programme }}</h4>
|
||||
{% endif %}
|
||||
{% if feature.text %}
|
||||
<p>{{ feature.text }}</p>
|
||||
{% if programme.texte_de_presentation %}
|
||||
<p>{{ programme.texte_de_presentation }}</p>
|
||||
{% endif %}
|
||||
{% if programme.logo %}
|
||||
<img src="{{ page.media[page.header.programmes.logo] }}" alt=“logo_programme” />
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user