Add link to individual post in index

This commit is contained in:
PV Tejas 2026-03-11 20:27:32 +05:30
parent 89622db6c9
commit 44a49e5aee
2 changed files with 2 additions and 1 deletions

View file

@ -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'] %}