summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/posts.html.j211
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>