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