From 5ed9803148ae131ba4faf44b67bfc47e350eb5a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 10 Dec 2017 00:03:23 +0100 Subject: [PATCH] theme: superfluous whitespace if no article author exists. --- pelican-theme/templates/article_footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican-theme/templates/article_footer.html b/pelican-theme/templates/article_footer.html index 077e2eba..535ef8bc 100644 --- a/pelican-theme/templates/article_footer.html +++ b/pelican-theme/templates/article_footer.html @@ -1 +1 @@ -

Posted {% if article.authors %}by {% for author in article.authors %}{{ author }}{% endfor %}{% endif %} on in {{ article.category }}{% if article.modified %}; updated {% endif %}.{% if article.tags %} Tags: {% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}.{% endif %}

+

Posted{% if article.authors %} by {% for author in article.authors %}{{ author }}{% endfor %}{% endif %} on in {{ article.category }}{% if article.modified %}; updated {% endif %}.{% if article.tags %} Tags: {% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}.{% endif %}

-- 2.30.2