diff options
Diffstat (limited to 'templates/posts.html.j2')
-rw-r--r-- | templates/posts.html.j2 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/posts.html.j2 b/templates/posts.html.j2 index e26465e..60a10c2 100644 --- a/templates/posts.html.j2 +++ b/templates/posts.html.j2 @@ -14,9 +14,14 @@ <section class="cards"> {% for post in posts %} <div class="card"> - <h2> - <a href="/blog/{{ post.get_title()|e }}">{{ post.get_title() }}</a> - </h2> + <h6> + {{ post.get_title()|e }} + </h6> + <p> + {{ post.get_description()|safe }} + </p> + + <a target="_blank" href="/blog/{{ post.get_title()|e }}">Read more</a> </div> {% endfor %} </section> |