]> sipb.mit.edu Git - ikiwiki.git/commitdiff
inline: Add author info to archive display.
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 11 Apr 2009 01:44:37 +0000 (21:44 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 11 Apr 2009 01:49:43 +0000 (21:49 -0400)
This won't change it normally, and is useful if using archive
format to display some aggregated feed titles.

debian/changelog
templates/archivepage.tmpl

index a82369f9fc2cd192fecfbaa5f24af1c8a9f3b7e4..b7779600e76ed8739b2e77bcb736cc5d7490b1ff 100644 (file)
@@ -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.
   * 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
 
 
  -- Joey Hess <joeyh@debian.org>  Sat, 04 Apr 2009 17:47:36 -0400
 
index fe1f0ab921681d884ee27233626a890e391dbf17..28800e7632150329df26bc5e324b16a33a70d1ef 100644 (file)
@@ -6,6 +6,14 @@
 </TMPL_IF>
 <i>
 Posted <TMPL_VAR CTIME>
 </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>
 </i>
-
 </p>
 </p>