[pkg-java-blog] 02/02: Separate listing with commas.

Markus Koschany apo at moszumanska.debian.org
Thu Apr 28 13:32:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository pkg-java-blog.

commit c56b6e10fec2b9976b4465bfc806f5366b97f4eb
Author: Markus Koschany <apo at debian.org>
Date:   Thu Apr 28 15:31:36 2016 +0200

    Separate listing with commas.
---
 theme-bits/templates/metadata.html | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/theme-bits/templates/metadata.html b/theme-bits/templates/metadata.html
index 523351b..8d6b24c 100644
--- a/theme-bits/templates/metadata.html
+++ b/theme-bits/templates/metadata.html
@@ -3,6 +3,9 @@
 {% if article.authors %}
 by {% for author in article.authors %}
 <a class="url fn" href="{{ SITEURL }}/{{ author.url }}"> {{ author }}</a>
+{% if not loop.last %}
+,
+{% endif %}
 {% endfor %}
 {% elif article.author %}
 by <a class="url fn" href="{{ SITEURL }}/{{ article.author.url}}">{{ article.author }}</a>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/pkg-java-blog.git



More information about the pkg-java-commits mailing list