[gimp-web/testing] Add comma separation for multiple authors



commit 65b8302840f97466e03aae2dc070d10fe01b6fcf
Author: Pat David <patdavid gmail com>
Date:   Wed May 25 13:28:04 2016 -0500

    Add comma separation for multiple authors
    
    Multiple author support was already set up, I just had to
    tweak the formatting in the template to put a proper
    comma after each name:
    NAME, NAME2, ETC...

 themes/newgimp/templates/article.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/themes/newgimp/templates/article.html b/themes/newgimp/templates/article.html
index 09893c2..181feb6 100644
--- a/themes/newgimp/templates/article.html
+++ b/themes/newgimp/templates/article.html
@@ -79,7 +79,7 @@
                     {% if article.authors %}
                     <address class="vcard author">
                       by {% for author in article.authors %}
-                          <a class="url fn" href="/{{ author.url }}">{{ author }}</a>
+                          <a class="url fn" href="/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, 
{% endif %}
                         {% endfor %}
                     </address>
                     {% endif %}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]