From 3467bd7674a0ca956a5ee8ec0fdb6a2291a6737a Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Tue, 12 Mar 2024 15:49:27 +0100 Subject: [PATCH] Add date and authors to blog post cards --- templates/frontpage/blocks/blog.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/frontpage/blocks/blog.html b/templates/frontpage/blocks/blog.html index 395d02fa..37abf0e1 100644 --- a/templates/frontpage/blocks/blog.html +++ b/templates/frontpage/blocks/blog.html @@ -12,7 +12,13 @@ </figure> </div> <div class="card-content"> - <a href="{{ post.permalink }}"><h3 class="title is-3">{{ post.title }}</h3></a> + <a href="{{ post.permalink }}"><h3 class="title is-3">{{ post.title }}</h3></a> + <p class="subtitle"> + {{ post.date }} · + {% for author in post.authors %} + {{ author }} + {% endfor %} + </p> <div class="content"> {{ post.summary | safe }} </div> -- GitLab