isotope && page agenda
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{% extends "base.twig" %}
|
||||
{% block content %}
|
||||
{% include 'components/title_page.twig' %}
|
||||
{% set now = 'now'|date('Ydj') %}
|
||||
<section>
|
||||
<ul class="btn_archive d-flex flex-wrap button-group filter-button-group my-0">
|
||||
{% include 'components/title_page.twig' %}
|
||||
{% set now = 'now'|date('Ydj') %}
|
||||
<section class="row filter">
|
||||
<ul class="d-flex flex-wrap">
|
||||
<li><a href="/archive">Archive</a></li>
|
||||
</ul>
|
||||
<ul class="cat-list d-flex flex-wrap button-group filter-button-group">
|
||||
<ul class="cat-list col d-flex flex-wrap">
|
||||
<li data-filter="*" >
|
||||
Tous
|
||||
</li>
|
||||
@@ -23,18 +23,19 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
<section class="row grid">
|
||||
{% for item in posts %}
|
||||
{% set end = item.informations_fin_event|date("Ydj") %}
|
||||
{% if now <= end %}
|
||||
{% include 'components/thumbnails/thumbnails.twig'%}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<div class="grid">
|
||||
{% for item in posts %}
|
||||
{% set end = item.informations_fin_event|date("Ydj") %}
|
||||
{% if now <= end %}
|
||||
{% include 'components/thumbnails/thumbnails.twig'%}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="paralax" data-rellax-speed="-5">
|
||||
<img src="{{theme.link}}/asset/images/objet_4.svg" alt="objet 4">
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user