|
@@ -9,8 +9,15 @@
|
|
{{ content|raw }}
|
|
{{ content|raw }}
|
|
<div class="boutons-event">
|
|
<div class="boutons-event">
|
|
{% for button in page.header.buttons %}
|
|
{% for button in page.header.buttons %}
|
|
- <a class="bouton{% if button.primary %} primary{% endif %}" href="{{ button.url }}" target="_blank">{{ button.text }}</a>
|
|
|
|
|
|
+ {% if button.url %}
|
|
|
|
+ <a class="bouton {% if button.primary %} primary{% endif %}" href="{{ button.url }}" target="_blank">{{ button.text }}>
|
|
|
|
+ {% endif %}
|
|
|
|
+ {% if button.pdf %}
|
|
|
|
+ <a class="bouton {% if button.primary %} primary{% endif %}" href="{{page.media[button.pdf].url|e }}" download >{{ button.text }}>
|
|
|
|
+ {% endif %}
|
|
|
|
+
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|