]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/archivepage.tmpl
Emit vestigial xmlns so people can still pass ikiwiki output through XSLT
[git.ikiwiki.info.git] / templates / archivepage.tmpl
index 7e8b8b8fc7aec12e99af2347f4bd24b3610bf8e8..3e0bd9bc20c2d228ce2958ca2d80496c8aec5190 100644 (file)
@@ -1,7 +1,19 @@
-<p>
-<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE ESCAPE=HTML></a><br />
-<i>
+<div class="archivepage">
+<TMPL_IF PERMALINK>
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a><br />
+<TMPL_ELSE>
+<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
+</TMPL_IF>
+<span class="archivepagedate">
 Posted <TMPL_VAR CTIME>
-</i>
-
-</p>
+<TMPL_IF AUTHOR>
+by <span class="author">
+<TMPL_IF AUTHORURL>
+<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
+<TMPL_ELSE>
+<TMPL_VAR AUTHOR>
+</TMPL_IF>
+</span>
+</TMPL_IF>
+</span>
+</div>