Merge branch 'master' into cvs
[ikiwiki.git] / templates / archivepage.tmpl
index 6bc789dfb29cfe241055ac51c4c392df6a6a50a4..3e0bd9bc20c2d228ce2958ca2d80496c8aec5190 100644 (file)
@@ -1,7 +1,19 @@
-<p>
+<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 />
-<i>
+</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>