clean css
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{% include 'components/title_page.twig' %}
|
||||
{% set now = 'now'|date('Ydj') %}
|
||||
<section class="row filter">
|
||||
<ul class="d-flex flex-wrap">
|
||||
<ul class="d-flex col flex-wrap">
|
||||
<li><a href="/archive">Archive</a></li>
|
||||
</ul>
|
||||
<ul class="cat-list col d-flex flex-wrap">
|
||||
@@ -16,15 +16,16 @@
|
||||
|
||||
{% set term = cat.categories|last.slug %}
|
||||
{% if term not in newArray and now <= end %}
|
||||
<li data-filter=".{{cat.categories|last.slug}}" >
|
||||
<li data-filter=".{{cat.categories|last.slug}}">
|
||||
{{cat.categories|last.name}}
|
||||
</li>
|
||||
{% set newArray = newArray|merge([term]) %}
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
<section class="row grid">
|
||||
<section class="grid">
|
||||
{% for item in posts %}
|
||||
{% set end = item.informations_fin_event|date("Ydj") %}
|
||||
{% if now <= end %}
|
||||
|
||||
Reference in New Issue
Block a user