aboutsummaryrefslogtreecommitdiff
path: root/templates/microblog.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-04-11 12:40:15 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-04-11 12:40:15 -0400
commitb6eccfd3d38c95773bdfc8fdf1ecbc32094f353e (patch)
tree4009cad2c7aafbdf4c6f8dcfa495c7c50cc536d6 /templates/microblog.tmpl
parenta25d8f992bc3e39cf39954475f31b83dabbf2374 (diff)
downloadikiwiki-b6eccfd3d38c95773bdfc8fdf1ecbc32094f353e.tar
ikiwiki-b6eccfd3d38c95773bdfc8fdf1ecbc32094f353e.tar.gz
Add a microblog template that is useful for inlining microblogging posts.
Diffstat (limited to 'templates/microblog.tmpl')
-rw-r--r--templates/microblog.tmpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/microblog.tmpl b/templates/microblog.tmpl
new file mode 100644
index 000000000..2e84441cc
--- /dev/null
+++ b/templates/microblog.tmpl
@@ -0,0 +1,22 @@
+<div class="microblog">
+
+<div class="inlinecontent">
+<TMPL_VAR CONTENT>
+</div>
+
+<div class="microblog-header">
+
+<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>
+
+&mdash; <TMPL_VAR CTIME>
+
+</div> <!--.microblog-header-->
+</div> <!--.microblog-->