déploiement resources

This commit is contained in:
2021-04-14 14:22:24 +02:00
parent 0ae1e837e7
commit c8f6de919f
24 changed files with 837 additions and 379 deletions
@@ -22,25 +22,33 @@
<div class="features {{ page.header.class}}">
<div class="feature-items">
{% for rapport in page.header.rapports %}
<div class="texte-cache">
{% for rapport in page.header.rapports %}
<div class="feature">
<div class="feature ">
{% if rapport.couverture and rapport.pdf %}
<a href="{{page.media[rapport.pdf].url|e }}" download >
<img src="{{page.media[rapport.couverture].url|e }}" alt="couverture du {{rapport.titre_du_rapport}}" />
</a>
{% endif %}
{% if rapport.titre_du_rapport %}
<h4>{{ rapport.titre_du_rapport }}</h4>
{% endif %}
{% if rapport.texte_de_presentation %}
<p>{{ rapport.texte_de_presentation|markdown }}</p>
{% endif %}
{% if rapport.couverture and rapport.pdf %}
<a href="{{page.media[rapport.pdf].url|e }}" download >
<img src="{{page.media[rapport.couverture].url|e }}" alt="couverture du {{rapport.titre_du_rapport}}" />
{% endif %}
{% if rapport.titre_du_rapport %}
<h4>{{ rapport.titre_du_rapport }}</h4>
{% endif %}
{% if rapport.texte_de_presentation %}
<p>{{ rapport.texte_de_presentation|markdown }}</p>
{% endif %}
</a>
</div>
{% endfor %}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<!-- <a href=""> -->
<button class="bouton-ouverture">Voir plus</button>
<!-- </a> -->