lien sur bloc programme, ajout champs url dans contenu
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user