{% extends 'layouts/index.html' %} {% block content %}
{{ post.text }}
Posted by {{ post.author.name }} {{ post.get_time_ago() }} ago.
{% if current_user.is_authenticated %}
{{ form.csrf_token }} {{ form.text }}
{% endif %} {% for comment in post.comments %}
"{{ comment.text }}"{{ comment.author.name }}
{% endfor %}
{% endblock %}