From: Vladimír Vondruš Date: Tue, 16 Jan 2018 13:03:29 +0000 (+0100) Subject: theme: different styling for updated articles in the footer. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=a5a17552a5d732eb58b5f68de9a5f88f54998282;p=blog.git theme: different styling for updated articles in the footer. --- diff --git a/pelican-theme/templates/article_footer.html b/pelican-theme/templates/article_footer.html index 49f690be..5230fa88 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|e }}{% endfor %}{% endif %} on in {{ article.category|e }}{% if article.modified %}; updated {% endif %}.{% if article.tags %} Tags: {% for tag in article.tags %}{{ tag|e }}{% if not loop.last %}, {% endif %}{% endfor %}.{% endif %}

+

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

diff --git a/pelican-theme/test/blog_modified_date/index.html b/pelican-theme/test/blog_modified_date/index.html index c9cf3c03..a03a310b 100644 --- a/pelican-theme/test/blog_modified_date/index.html +++ b/pelican-theme/test/blog_modified_date/index.html @@ -43,7 +43,7 @@