Add link to individual post in index
This commit is contained in:
parent
89622db6c9
commit
44a49e5aee
2 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
<article class="post">
|
||||
<header>
|
||||
<div>
|
||||
<h1>{{ post['title'] }}</h1>
|
||||
<h1><a class="action" href="{{ url_for('blog.individual_post', id=post['id']) }}">{{ post['title'] }}</a></h1>
|
||||
<div class="about">by {{ post['username'] }} on {{ post['created'].strftime('%Y-%m-%d') }}</div>
|
||||
</div>
|
||||
{% if g.user['id'] == post['author_id'] %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue