|
@@ -8,13 +8,13 @@
|
|
<section id="section-articles">
|
|
<section id="section-articles">
|
|
{% for article in articles %}
|
|
{% for article in articles %}
|
|
<article class="article-preview">
|
|
<article class="article-preview">
|
|
- <div class="titre-article">
|
|
|
|
|
|
+ <header class="titre-article">
|
|
<h1><a href="{{ path('app_view', {'slug': article.slug}) }}">{{ article.title}}</a></h1>
|
|
<h1><a href="{{ path('app_view', {'slug': article.slug}) }}">{{ article.title}}</a></h1>
|
|
<p class="article-by">{{ article.publicationDate | format_date('long') }} - {{ article.author }}</p>
|
|
<p class="article-by">{{ article.publicationDate | format_date('long') }} - {{ article.author }}</p>
|
|
- </div>
|
|
|
|
- <div class="contenu">
|
|
|
|
|
|
+ </header>
|
|
|
|
+ <section class="contenu">
|
|
{{ article.content | markdown }}
|
|
{{ article.content | markdown }}
|
|
- </div>
|
|
|
|
|
|
+ </section>
|
|
</article>
|
|
</article>
|
|
<a href="{{ path('app_view', {'slug': article.slug}) }}">Voir l'article</a>
|
|
<a href="{{ path('app_view', {'slug': article.slug}) }}">Voir l'article</a>
|
|
{% if is_granted('edit', article) %}
|
|
{% if is_granted('edit', article) %}
|