[pkg-java-blog] 01/01: Support multiple authors and update metadata template accordingly

Markus Koschany apo at moszumanska.debian.org
Thu Apr 28 12:29:10 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 a8a6d37421e85648842d2a7cff52825db8ca1bb6
Author: Markus Koschany <apo at debian.org>
Date:   Thu Apr 28 14:28:40 2016 +0200

    Support multiple authors and update metadata template accordingly
---
 theme-bits/templates/metadata.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/theme-bits/templates/metadata.html b/theme-bits/templates/metadata.html
index e21aa76..ede4c1f 100644
--- a/theme-bits/templates/metadata.html
+++ b/theme-bits/templates/metadata.html
@@ -2,6 +2,8 @@
 
 {% if article.author %}
 by <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
+{% elif article.authors %}
+by <a class="url fn" href="{{ SITEURL }}/{{ article.authors.url | join(',') }}">{{ article.authors }}</a>
 {% endif %}
 
 {% if article.translator %}

-- 
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