{% for post in posts -%}
{# card to display avatars on desktop #}

{{ post.author_name }}

{# card for main post content #}
{# card section for displaying user & post information on mobile #}
 {{ post.author_name }} posted on {{ post.posted }}
{# card section to display post date on desktop #} {# card section for actual post content #}
{{ post.body | safe }}
{# card section for post actions #}
{#%- TODO if post.editable %#} {#% endif -%#} {% if post.editable %} edit Edit post {% endif %}
{% endfor %} {# section for writing a response on the same page #}