aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-04-10 21:44:37 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-04-10 21:49:43 -0400
commita25d8f992bc3e39cf39954475f31b83dabbf2374 (patch)
treec91cc9823e0c8d105ecb8cdb717d359e9c6a4945 /templates
parente0d1e84b8db54338512ee1ca4b20817d4e338362 (diff)
downloadikiwiki-a25d8f992bc3e39cf39954475f31b83dabbf2374.tar
ikiwiki-a25d8f992bc3e39cf39954475f31b83dabbf2374.tar.gz
inline: Add author info to archive display.
This won't change it normally, and is useful if using archive format to display some aggregated feed titles.
Diffstat (limited to 'templates')
-rw-r--r--templates/archivepage.tmpl10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl
index fe1f0ab92..28800e763 100644
--- a/templates/archivepage.tmpl
+++ b/templates/archivepage.tmpl
@@ -6,6 +6,14 @@
</TMPL_IF>
<i>
Posted <TMPL_VAR CTIME>
+<TMPL_IF NAME="AUTHOR">
+by <span class="author">
+<TMPL_IF NAME="AUTHORURL">
+<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
+<TMPL_ELSE>
+<TMPL_VAR AUTHOR>
+</TMPL_IF>
+</span>
+</TMPL_IF>
</i>
-
</p>