bug page agenda
This commit is contained in:
parent
6f8d09a392
commit
da0618f73f
@ -1,4 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* template name: agenda
|
||||
*/
|
||||
|
||||
|
||||
$context = Timber::context();
|
||||
|
@ -1,18 +1,9 @@
|
||||
{% extends "base.twig" %}
|
||||
|
||||
{% block content %}
|
||||
page agenda
|
||||
<section>
|
||||
page agenda
|
||||
<div>
|
||||
<article class="tease tease-{{post.post_type}}" id="tease-{{post.ID}}">
|
||||
{% block content %}
|
||||
<h2 class="h2"><a href="{{post.link}}">{{post.title}}</a></h2>
|
||||
<p>{{post.preview}}</p>
|
||||
{% if post.get_thumbnail %}
|
||||
<img src="{{post.thumbnail.src}}" />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</article>
|
||||
{% for item in posts %}
|
||||
{% include 'components/thumbnails/thumbnails.twig' %}
|
||||
{% endfor %}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="content-wrapper">
|
||||
{{dump(post)}}
|
||||
<!-- {{dump(post)}} -->
|
||||
<article class="post-type-{{ post.titre}}">
|
||||
<img src="{{ post.image_event}}">
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user