{% for cssPath in styleSheetPath %} {% endfor %}
{% for cssPath in styleSheetPath %} {% endfor %}
Légende : Bio - Produits régionaux - Produits labellisés - Plat signature
{% for mealtime, courses in menus %} {% for index, date in week %} {% if dateRange[mealtime] is defined %} {% set dateDebutString = date|date('Y-m-d') %} {% set dateDebut = dateDebutString|date('Y-m-d')|date_modify('midnight')%} {% set dateFinString = endWeekDates[index]|date('Y-m-d')|date_modify('midnight') %} {% set dateFin = dateFinString|date('Y-m-d')|date_modify('midnight')%}

{{ mealtime }} - {{ site.name }}

Menu du {{ firstDayOfWeek[index] | date_fr('long') }} au {{ endWeekDates[index] | date_fr() }}

{% for date, event in dates[mealtime] | length > 0 ? datesWithEvents[mealtime] : {} %} {% if date|date('Y-m-d') >= dateDebutString and date|date('Y-m-d') <= dateFinString.format('Y-m-d') %} {% if event %} {% else %} {% endif %} {% endif %} {% endfor %} {% for date, event in dates[mealtime] | length > 0 ? datesWithEvents[mealtime] : {} %} {% set dateTimeDate = date is null ? null : date | date('Y-m-d') | date_modify('midnight') %} {% if dateTimeDate|date('Y-m-d') >= dateDebutString and dateTimeDate|date('Y-m-d') <= dateFinString.format('Y-m-d') %} {% endif %} {% endfor %} {% for course, recipes in courses %} {% for date, event in dates[mealtime] | length > 0 ? datesWithEvents[mealtime] : {} %} {% set dateTimeDate = date is null ? null : date | date('Y-m-d') | date_modify('midnight') %} {% if dateTimeDate|date('Y-m-d') >= dateDebutString and dateTimeDate|date('Y-m-d') <= dateFinString.format('Y-m-d') %} {% endif %} {% endfor %} {% endfor %}
{% endif %} {% endfor %} {% endfor %}