From: Vladimír Vondruš Date: Sat, 9 Dec 2017 23:03:23 +0000 (+0100) Subject: theme: superfluous whitespace if no article author exists. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=5ed9803148ae131ba4faf44b67bfc47e350eb5a2;p=blog.git theme: superfluous whitespace if no article author exists. --- 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 %}