summaryrefslogtreecommitdiff
path: root/.templates/newsitem.tmpl
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-11-10 12:17:51 +0100
committerThomas Schwinge <tschwinge@gnu.org>2008-11-10 12:17:51 +0100
commit3d08669796fc4dd81b1d717f46b14b14dfaa1f57 (patch)
treedbe378743ea7576a6a6a8691cfa663b9c6abf2a9 /.templates/newsitem.tmpl
parent3685eb51c76beab4c3f5e841328295de66b86537 (diff)
.templates/newsitem.tmpl: New file, copy from ikiwiki 2.68's templates/inlinepage.tmpl.
Diffstat (limited to '.templates/newsitem.tmpl')
-rw-r--r--.templates/newsitem.tmpl70
1 files changed, 70 insertions, 0 deletions
diff --git a/.templates/newsitem.tmpl b/.templates/newsitem.tmpl
new file mode 100644
index 00000000..984d33ce
--- /dev/null
+++ b/.templates/newsitem.tmpl
@@ -0,0 +1,70 @@
+<div class="inlinepage">
+
+<div class="inlineheader">
+
+<TMPL_IF NAME="AUTHOR">
+<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>
+<span class="header">
+<TMPL_IF NAME="PERMALINK">
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+<TMPL_ELSE>
+<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
+</TMPL_IF>
+</span>
+
+</div><!--.inlineheader-->
+
+<div class="inlinecontent">
+<TMPL_VAR CONTENT>
+</div><!--.inlinecontent-->
+
+<div class="inlinefooter">
+
+<span class="pagedate">
+Posted <TMPL_VAR CTIME>
+</span>
+
+<TMPL_IF NAME="TAGS">
+<span class="tags">
+Tags:
+<TMPL_LOOP NAME="TAGS">
+<TMPL_VAR LINK>
+</TMPL_LOOP>
+</span>
+</TMPL_IF>
+
+<TMPL_IF COPYRIGHT>
+<div class="pagecopyright">
+<TMPL_VAR COPYRIGHT>
+</div>
+</TMPL_IF>
+
+<TMPL_IF LICENSE>
+<div class="pagelicense">
+License: <TMPL_VAR LICENSE>
+</div>
+</TMPL_IF>
+
+<TMPL_IF NAME="HAVE_ACTIONS">
+<div class="actions">
+<ul>
+<TMPL_IF NAME="EDITURL">
+<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
+</TMPL_IF>
+<TMPL_IF NAME="DISCUSSIONLINK">
+<li><TMPL_VAR DISCUSSIONLINK></li>
+</TMPL_IF>
+</ul>
+</div><!--.actions-->
+</TMPL_IF>
+
+</div><!--.inlinefooter-->
+
+</div><!--.inlinepage-->