{% extends 'base.html' %}

{% block content %}
    <h2>{{ post.title }}</h2>
    <p>{{ post.created_at.strftime('%Y-%m-%d %H:%M') }}</p>
    <div>{{ post.content }}</div>
    <a href="{{ url_for('index') }}">Back to posts</a>
{% endblock %}