{% extends 'base.html.twig' %} {% block body %}

{{ post.title }}

by {{ post.user.name }} ({{ post.user.email }}), {{ post.user.website }}) work at {{ post.user.company.name }}

{{ post.body }}

{% if post.comments|length > 0 %}

Comments:

{% for comment in post.comments %}
{{ comment.name }} ({{ comment.email }})

{{ comment.body }}

{% endfor %}
{% endif %}
{% endblock %}