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