lien sur bloc programme, ajout champs url dans contenu

This commit is contained in:
2021-04-01 13:26:59 +02:00
parent 99edbc1d89
commit b38c91594a
4 changed files with 14 additions and 2 deletions
@@ -126,6 +126,7 @@
color: #ffffff;
transition:0.2s ease-in-out;
}
//
// /* .titre_nsb {
// display: block;
@@ -1,5 +1,5 @@
<div class="programmes{{ page.header.class}}">
<div class="parallax-window" data-parallax="scroll" data-image-src="{/pages/02._programmes/10361_web_01.jpg}"></div>
<!-- <div class="parallax-window" data-parallax="scroll" data-image-src="{/pages/02._programmes/10361_web_01.jpg}"></div> -->
{{ content|raw }}
@@ -11,6 +11,7 @@
{% for programme in page.header.programmes %}
<div class="programme">
<a href="{{programme.site}}">
{% if programme.logo %}
<img src="{{page.media[programme.logo].url|e }}" alt="logo du programme {{programme.nom_du_programme}}" />
{% endif %}
@@ -20,8 +21,10 @@
{% if programme.texte_de_presentation %}
<p>{{ programme.texte_de_presentation|markdown }}</p>
{% endif %}
</a>
</div>
{% endfor %}
</div>