restored agenda link in home
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{# {% block sidebar %}
|
||||
{% block sidebar %}
|
||||
{% include 'partials/sidebar.html.twig' %}
|
||||
{% endblock %} #}
|
||||
{% endblock %}
|
||||
|
||||
{% block newsletter %}
|
||||
{% include 'partials/newsletters.html.twig' %}
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
{% set h3 = h3 ?: 'h3' %}
|
||||
|
||||
<div class="sidebar">
|
||||
<{{h2}}>À venir</{{h2}}>
|
||||
{# <{{h2}}>À venir</{{h2}}>
|
||||
|
||||
{% set this_year = "now"|date('Y') %}
|
||||
{% set this_month = "now"|date('M') %}
|
||||
{% set this_day = "now"|date('d') %}
|
||||
|
||||
{% set next_year = "+1 year"|date('Y')%}
|
||||
{% set next_year = "+1 year"|date('Y')%} #}
|
||||
|
||||
{% for p in page.collection(options).dateRange( this_day ~ this_month ~ this_year, '12/31/' ~ next_year).slice(0, 3).order('date', 'asc') %}
|
||||
{# {% for p in page.collection(options).dateRange( this_day ~ this_month ~ this_year, '12/31/' ~ next_year).slice(0, 3).order('date', 'asc') %}
|
||||
<div class="side-agenda">
|
||||
<a href="{{p.url}}">
|
||||
<div class="date">
|
||||
@@ -21,7 +21,7 @@
|
||||
{{p.summary(70)}}
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %} #}
|
||||
<div class="side-all-agenda">
|
||||
<a href="/agenda">voir tout l'agenda</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user