[pkg-java-blog] 01/02: Update metadata.html template.

Markus Koschany apo at moszumanska.debian.org
Thu Apr 28 13:10: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 df372aecc651849a4e6570de1497f5b6f600b6f6
Author: Markus Koschany <apo at debian.org>
Date:   Thu Apr 28 14:57:13 2016 +0200

    Update metadata.html template.
---
 theme-bits/templates/metadata.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/theme-bits/templates/metadata.html b/theme-bits/templates/metadata.html
index e541eb3..29aaab4 100644
--- a/theme-bits/templates/metadata.html
+++ b/theme-bits/templates/metadata.html
@@ -1,9 +1,9 @@
 {{ article.locale_date }}
 
-{% 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.author }}</a>
+{% if article.authors %}
+by {{article.authors | join(', ')}}
+{% elif article.author %}
+by <a class="url fn" href="{{ SITEURL }}/{{ article.author.url}}">{{ article.author }}</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