fix title other single
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user