change agenda
This commit is contained in:
parent
073eb24784
commit
6872b491c2
@ -1,17 +0,0 @@
|
|||||||
---
|
|
||||||
title: 'Organisez vos événements'
|
|
||||||
media_order: imgtest2.jpg
|
|
||||||
metadata:
|
|
||||||
descrition: 'Organisez vos événements'
|
|
||||||
show_sidebar: false
|
|
||||||
content:
|
|
||||||
items:
|
|
||||||
- '@self.children'
|
|
||||||
limit: 0
|
|
||||||
order:
|
|
||||||
by: date
|
|
||||||
dir: desc
|
|
||||||
pagination: true
|
|
||||||
url_taxonomy_filters: true
|
|
||||||
---
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
|||||||
<section class="body-wrapper">
|
<section class="body-wrapper">
|
||||||
{% block item %}
|
{% block item %}
|
||||||
{% for child in collection.order('folder','asc') %}
|
{% for child in collection.order('folder','asc') %}
|
||||||
{% if child.header.date_end|date("ymd") >= "now"|date("ymd") %}
|
{% if child.header.date_begin|date("ymd") >= "now"|date("ymd") %}
|
||||||
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
|
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<form action="https://kevintessier.us19.list-manage.com/subscribe/post?u=a98b763288f940083bf28857c&id=96d6b6e702" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
|
<form action="https://kevintessier.us19.list-manage.com/subscribe/post?u=a98b763288f940083bf28857c&id=96d6b6e702" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
|
||||||
<div id="mc_embed_signup_scroll">
|
<div id="mc_embed_signup_scroll">
|
||||||
<label for="mce-EMAIL">Recevoir l'actualité du Campus</label></br>
|
<label for="mce-EMAIL">Recevoir l'actualité du Campus</label></br>
|
||||||
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
|
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="adresse e-mail" required>
|
||||||
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a98b763288f940083bf28857c_96d6b6e702" tabindex="-1" value=""></div>
|
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a98b763288f940083bf28857c_96d6b6e702" tabindex="-1" value=""></div>
|
||||||
<div class="clear"><input type="submit" value="ok" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
|
<div class="clear"><input type="submit" value="ok" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% set options = { items: {'@page.children': '/agenda'}, 'limit': 3, 'order': {'by': 'date', 'dir': 'desc'} } %}
|
{% set options = { items: {'@page.children': '/agenda'}, 'limit': 3, 'order': {'by': 'date', 'dir': 'asc'} } %}
|
||||||
{% set h2 = h2 ?: 'h2' %}
|
{% set h2 = h2 ?: 'h2' %}
|
||||||
{% set h3 = h3 ?: 'h3' %}
|
{% set h3 = h3 ?: 'h3' %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user