aboutsummaryrefslogtreecommitdiff
path: root/templates/aggregatepost.tmpl
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-07-17 16:38:08 -0400
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-07-17 16:38:08 -0400
commit97d0c09a18d9c9b1defb3f4849e04e06745000c7 (patch)
treeb8593a751f76690cdcd0c93ad95ec8819f24550f /templates/aggregatepost.tmpl
parent844710c0dad4e35213ca1b55a660ab6c0a525dd8 (diff)
downloadikiwiki-97d0c09a18d9c9b1defb3f4849e04e06745000c7.tar
ikiwiki-97d0c09a18d9c9b1defb3f4849e04e06745000c7.tar.gz
Show author in addition to feedname, if different.
While here, mollify http://validator.w3.org/feed/ and s/dcterms:creator/dc:creator/g, which happens to make rss2email see and do nice things with authors.
Diffstat (limited to 'templates/aggregatepost.tmpl')
-rw-r--r--templates/aggregatepost.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/aggregatepost.tmpl b/templates/aggregatepost.tmpl
index 4e89efe32..a89ccfcdf 100644
--- a/templates/aggregatepost.tmpl
+++ b/templates/aggregatepost.tmpl
@@ -11,5 +11,9 @@
<TMPL_IF COPYRIGHT>
[[!meta copyright="<TMPL_VAR COPYRIGHT ESCAPE=HTML>"]]
</TMPL_IF>
+<TMPL_IF AUTHOR>
+[[!meta author="<TMPL_VAR NAME ESCAPE=HTML>: <TMPL_VAR AUTHOR ESCAPE=HTML>"]]
+<TMPL_ELSE>
[[!meta author="<TMPL_VAR NAME ESCAPE=HTML>"]]
+</TMPL_IF>
[[!meta authorurl="<TMPL_VAR URL ESCAPE=HTML>"]]