[pkg-java-blog] 01/02: Fix metadata template.
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 5780af3fd4c543a01831959112d73dc3a42f12b9
Author: Markus Koschany <apo at debian.org>
Date: Thu Apr 28 15:23:09 2016 +0200
Fix metadata template.
---
theme-bits/templates/metadata.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/theme-bits/templates/metadata.html b/theme-bits/templates/metadata.html
index 29aaab4..523351b 100644
--- a/theme-bits/templates/metadata.html
+++ b/theme-bits/templates/metadata.html
@@ -1,7 +1,9 @@
{{ article.locale_date }}
{% if article.authors %}
-by {{article.authors | join(', ')}}
+by {% for author in article.authors %}
+<a class="url fn" href="{{ SITEURL }}/{{ author.url }}"> {{ author }}</a>
+{% endfor %}
{% elif article.author %}
by <a class="url fn" href="{{ SITEURL }}/{{ article.author.url}}">{{ article.author }}</a>
{% endif %}
--
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