{% extends 'base.html' %} {% block content %} <h2>{{ thread.title }}</h2> <p>{{ thread.created_at.strftime('%Y-%m-%d %H:%M') }}</p> {% for post in pdx %} <div class="container"> <div class="userbox"> <p> Poster: <a href="{{url_for('details', light=post.authour.name)}}"> {{post.authour.name}} </a> </p> <p> Date: {{post.created_at.strftime('%Y-%m-%d %H:%M')}} </p> </div> <div class="post-content"> <p> <a href="{{url_for('post', post_id=post.id)}}"> <h4> {{post.title}} </h4> </a> </p> {{ post.content|markdown|safe }} </div> <br> <br> </div> {% endfor %} <div class="post-actions"> <a href="{{ url_for('create', reply=thread.id)}}"> Reply</a> ~ <a href="{{ url_for('index') }}">Back to posts</a> </div> {% endblock %}