parent
e1ca5d7a36
commit
81efb8aa97
@ -1,17 +1,19 @@
|
|||||||
{% block body %}
|
{% block body %}
|
||||||
<a href="{{ path('display_post', {'id': post.id}) }}">
|
|
||||||
<div id="post-wrapper">
|
<div id="post-wrapper">
|
||||||
<div id="post">
|
<div id="post">
|
||||||
<div id="post-info">
|
<div id="post-info">
|
||||||
|
<a href="{{ path('profil_show', {'id': post.profil.id}) }}">
|
||||||
<img src="https://api.dicebear.com/8.x/big-smile/svg?seed={{ post.profil.name }}" width="40px">
|
<img src="https://api.dicebear.com/8.x/big-smile/svg?seed={{ post.profil.name }}" width="40px">
|
||||||
|
</a>
|
||||||
<span>{{ post.profil.name }}</span>
|
<span>{{ post.profil.name }}</span>
|
||||||
{# <span>- {{ post.dateCreated }}</span> #}
|
{# <span>- {{ post.dateCreated }}</span> #}
|
||||||
<span>- Il y a 3 jours</span>
|
<span>- Il y a 3 jours</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a href="{{ path('display_post', {'id': post.id}) }}">
|
||||||
<h1 id="post-title">{{ post.title }}</h1>
|
<h1 id="post-title">{{ post.title }}</h1>
|
||||||
<p>{{ post.text|u.truncate(150, true, '...') }}</p>
|
<p>{{ post.text|u.truncate(150, true, '...') }}</p>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in new issue