]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/inlinepage.tmpl
* Fixed a bug with previews of subpages having broken links to top-level
[git.ikiwiki.info.git] / templates / inlinepage.tmpl
index 397ac860c218a4979b7ad7d1ad1426981049c1d9..eecb5a60ea78e9deaa80f8ad3c4703016d6c5817 100644 (file)
@@ -1,9 +1,31 @@
 <div class="inlinepage">
-<h1><TMPL_VAR PAGELINK></h1>
-
+<TMPL_IF NAME="AUTHOR">
+<span class="author">
+<TMPL_IF NAME="AUTHORURL">
+<a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a>
+<TMPL_ELSE>
+<TMPL_VAR NAME=AUTHOR>
+</TMPL_IF>
+</span>
+</TMPL_IF>
+<span class="header">
+<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
+</span>
 <TMPL_VAR CONTENT>
 
-<p>
-<i>(posted <TMPL_VAR CTIME>)</i>
-</p>
+<span class="pageinfo">
+Posted <TMPL_VAR CTIME>
+<TMPL_IF NAME="PERMALINK">
+(<a rel="bookmark" href="<TMPL_VAR NAME=PERMALINK>">permalink</a>)
+</TMPL_IF>
+</span>
+
+<span class="tags">
+<TMPL_IF NAME="TAGS">
+Tags:
+<TMPL_LOOP NAME="TAGS">
+<TMPL_VAR NAME=LINK>
+</TMPL_LOOP>
+</TMPL_IF>
+</span>
 </div>