commit 77d9488ba0972f856d5839e4c44e34dd8d36c78b
parent 357a3835e9d1f2b7179a66a16b6f5fb975309e78
Author: Dan Callaghan <djc@djc.id.au>
Date: Fri, 5 Sep 2008 22:55:51 +1000
oops
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/multiple_atom.xml b/templates/multiple_atom.xml
@@ -20,9 +20,9 @@ ATOM_TIME_FORMAT = str('%Y-%m-%dT%H:%M:%S+10:00')
<id>${entry.guid}</id>
<published>${entry.publication_date.strftime(ATOM_TIME_FORMAT)}</published>
<updated>${entry.modified_date.strftime(ATOM_TIME_FORMAT)}</updated>
- <author>
+ <author py:with="email = config.getunicode('global', 'email')">
<name>${config.getunicode('global', 'author')}</name>
- <email py:with="email = config.getunicode('global', 'email')" py:if="email">${email}</email>
+ <email py:if="email">${email}</email>
</author>
<category py:for="tag in entry.tags" scheme="${environ['APP_URI']}/+tags/" term="${tag}" />
<py:if test="isinstance(entry, blog.Entry)">