diff options
Diffstat (limited to 'templates/post.html')
-rw-r--r-- | templates/post.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/post.html b/templates/post.html index eef4c93..4d37ed9 100644 --- a/templates/post.html +++ b/templates/post.html @@ -24,11 +24,14 @@ <a href="{{url_for('post', post_id=post.parent)}}"> Previous</a> <hr> {% endif %} +<h2>{{ post.title }}</h2> +<p>{{ post.created_at.strftime('%Y-%m-%d %H:%M') }}</p> + <div class="container"> - <h2>{{ post.title }}</h2> - <p>{{ post.created_at.strftime('%Y-%m-%d %H:%M') }}</p> - <p> Authour: <a href="{{url_for('details', light=post.authour.name)}}"> {{post.authour.name}} </a></p> - <div>{{ post.content|markdown|safe }}</div> + <div class="userbox"> + <p> Authour: <a href="{{url_for('details', light=post.authour.name)}}"> {{post.authour.name}} </a></p> + </div> + <div class="post-content">{{ post.content|markdown|safe }}</div> </div> <div class="post-actions"> <a href="{{ url_for('create', reply=post.id)}}"> Reply</a> ~ |