change file to filepicker in progremmes.yaml

This commit is contained in:
2021-03-19 16:46:44 +01:00
parent 80be13743f
commit be10cb4602
3 changed files with 8 additions and 33 deletions
@@ -1,15 +1,10 @@
<div class="modular-row programmes{{ page.header.class}}">
{{ content|raw }}
{{ dump(page.header) }}
{{ dump(page.header) }}
<div class="feature-items">
{% for programme in page.header.programmes %}
<div class="feature">
{% 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 programme.nom_du_programme %}
<h4>{{ programme.nom_du_programme }}</h4>
{% endif %}
@@ -17,9 +12,7 @@
<p>{{ programme.texte_de_presentation }}</p>
{% endif %}
{% if programme.logo %}
<img src="{{ page.media[page.header.programmes.logo].html() }}" alt=logo_programme />
{{ page.media[header.programmes.logo|first.name] }}
{% endif %}
</div>
</div>