From 1a352e02f280b298d32e28f7a6389b4f33ca6c88 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 12 Mar 2024 16:12:14 +0000 Subject: [PATCH] Properly separate multiple sources --- theme/main.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/theme/main.html b/theme/main.html index c430ccd..6c9a59f 100644 --- a/theme/main.html +++ b/theme/main.html @@ -39,6 +39,11 @@ {{ super() }} {% if page.meta.sources %} - Sources: {% for source in page.meta.sources %}{{ source|domain }}{% endfor %} + + Sources: + {% for source in page.meta.sources %} + {{ source|domain }}{% if not loop.last %}, {% endif %} + {% endfor %} + {% endif %} {% endblock %}