diff options
Diffstat (limited to 'templates/posts.html.j2')
| -rw-r--r-- | templates/posts.html.j2 | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/templates/posts.html.j2 b/templates/posts.html.j2 index eec04a9..9f6e5db 100644 --- a/templates/posts.html.j2 +++ b/templates/posts.html.j2 @@ -1,22 +1,24 @@ {% extends "base.html.j2" %} {% block main %} -<section class="banner"> - <h1>Posts</h1> -</section> - -<section> - <h2> - Refining how we think and teach. - </h2> +<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"> - <h2> - <a href="/posts/{{ 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()|urlencode }}">Read more</a> </div> {% endfor %} </section> |