fix title other single

This commit is contained in:
2020-09-15 17:11:58 +02:00
parent dedd9459e3
commit 8201a3170c
38 changed files with 527 additions and 87 deletions
@@ -1,7 +1,9 @@
{% if name == 'other' %}
{% set cat = post.categories|first.slug %}
{% set title = item.post_title %}
{% else %}
{% set cat = item.categories|first.slug %}
{% set title = item.title %}
{% endif %}
<article class="thumbnails col-12 col-md-6 col-lg-4 {{cat}}">
@@ -13,7 +15,7 @@
</figure>
<div class="wrap_content">
<h5>{{item.title}}</h5>
<h5>{{title}}</h5>
<div class="content">
<div class="date">
{% set start = item.informations_debut_event|date("Ydj") %}
@@ -1,5 +1,3 @@
<section class="title_page">
<div class="{{class}}">
<h2 class="titre_page">{{post.title}}</h2>
</div>
<h2 class="titre_page">{{post.title}}</h2>
</section>