fix agenda archive && thumbnails
This commit is contained in:
@@ -1,21 +1,24 @@
|
||||
<h3>Les temps forts</h3>
|
||||
<div class="row">
|
||||
{% for item in tpsF %}
|
||||
<article class="thumbnails col-12 col-md-6 col-lg {{cat}}">
|
||||
<article class="thumbnails col-12 col-md-6 col-lg {{cat}}">
|
||||
<figure>
|
||||
<img src="{{item.thumbnail.src|resize(500,500) }}" alt="{{item.thumbnail.alt}}" title="{{item.thumbnail.title}}">
|
||||
<div class="overflow-hidden">
|
||||
<img src="{{item.thumbnail.src|resize(500,500) }}" alt="{{item.thumbnail.alt}}" title="{{item.thumbnail.title}}">
|
||||
</div>
|
||||
<figcaption class="wrap_content">
|
||||
<h3>{{item.title}}</h3>
|
||||
<div class="date">
|
||||
<span>Prochaine Édition :
|
||||
<br><time datetime="{{item.next_edition|date("F Y") }}">{{item.next_edition|date("F Y") }}</time></br>
|
||||
</span>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{item.text|truncate(20)}}
|
||||
</div>
|
||||
</figcaption>
|
||||
|
||||
</figure>
|
||||
<div class="wrap_content">
|
||||
<h3>{{item.title}}</h3>
|
||||
<div class="date">
|
||||
<span>Prochaine Édition :
|
||||
<br><time datetime="{{item.next_edition|date("F Y") }}">{{item.next_edition|date("F Y") }}</time></br>
|
||||
</span>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{item.text|truncate(20)}}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user