diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-04-11 12:40:15 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-04-11 12:40:15 -0400 |
commit | b6eccfd3d38c95773bdfc8fdf1ecbc32094f353e (patch) | |
tree | 4009cad2c7aafbdf4c6f8dcfa495c7c50cc536d6 /templates | |
parent | a25d8f992bc3e39cf39954475f31b83dabbf2374 (diff) | |
download | ikiwiki-b6eccfd3d38c95773bdfc8fdf1ecbc32094f353e.tar ikiwiki-b6eccfd3d38c95773bdfc8fdf1ecbc32094f353e.tar.gz |
Add a microblog template that is useful for inlining microblogging posts.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/microblog.tmpl | 22 |
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> + +— <TMPL_VAR CTIME> + +</div> <!--.microblog-header--> +</div> <!--.microblog--> |