change file to filepicker in progremmes.yaml
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user