diff options
Diffstat (limited to 'templates/post.html')
-rw-r--r-- | templates/post.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/post.html b/templates/post.html index 107b1a2..eef4c93 100644 --- a/templates/post.html +++ b/templates/post.html @@ -24,10 +24,12 @@ <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> -<p> Authour: {{post.authour.name}}</p> -<div>{{ post.content|markdown|safe }}</div> +<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> <div class="post-actions"> <a href="{{ url_for('create', reply=post.id)}}"> Reply</a> ~ <a href="{{ url_for('index') }}">Back to posts</a> |