diff options
Diffstat (limited to 'templates/posts.html.j2')
-rw-r--r-- | templates/posts.html.j2 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/posts.html.j2 b/templates/posts.html.j2 new file mode 100644 index 0000000..8352d7e --- /dev/null +++ b/templates/posts.html.j2 @@ -0,0 +1,25 @@ +{% extends "base.html.j2" %} + +{% block main %} +<section class="banner flexible"> + <h1>Blog</h1> + <h6> + Sharing reflections and recommendations from practice + </h6> +</section> + +<section class="cards"> + {% for post in posts %} + <div class="card"> + <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> +{% endblock %}
\ No newline at end of file |