From 276ca1135e786042a8e45988fc66be2f17ebb62c Mon Sep 17 00:00:00 2001 From: Darius Auding <Darius.auding@gmx.de> Date: Wed, 3 Apr 2024 22:52:31 +0200 Subject: [PATCH] add commata between author names --- templates/blog/author_media.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/templates/blog/author_media.html b/templates/blog/author_media.html index 419287a9..c58eeff4 100644 --- a/templates/blog/author_media.html +++ b/templates/blog/author_media.html @@ -1,5 +1,5 @@ <div class="columns"> - <div class="column"> + <div class="column is-two-fifths"> {% set authors_data = load_data(path="authors.json") -%} {% for author in post.authors -%} <figure class="image is-48x48 is-inline-block" style="margin-right: -30px;"> @@ -17,10 +17,16 @@ {% endfor %} </div> <ul class="column is-three-fifths"> + <div class="title is-5"> {% for author in post.authors -%} - <li class="title is-5 is-inline mr-3"> + <p class="is-inline"> {{ authors_data[author].display_name }} - </li> + {% if not loop.last %} + , + {% endif %} + </p> {% endfor %} + </div> </ul> </div> + -- GitLab