summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--templates/archivepage.tmpl10
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index a82369f9f..b7779600e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ ikiwiki (3.10) UNRELEASED; urgency=low
* Add missing newline to Confirm Password prompt.
* Add missing permalink support to archivepage and titlepage templates.
* debian/control: Wrap fields.
+ * inline: Add author info to archive display.
-- Joey Hess <joeyh@debian.org> Sat, 04 Apr 2009 17:47:36 -0400
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>