Mercurial > hg > chronicle
diff themes/leftbar/entry.template @ 225:ea9cb3e9020b
New theme.
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Fri, 02 May 2008 20:57:12 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/leftbar/entry.template Fri May 02 20:57:12 2008 +0100 @@ -0,0 +1,60 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> + <head> + <title><!-- tmpl_var name='blog_title' -->: <!-- tmpl_var name='title' --></title> + <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='top' -->style.css"> + </head> + <body> + + <div class="title"> + <h1><!-- tmpl_if name='blog_title' --> + <a href="<!-- tmpl_var name='top' -->"><!-- tmpl_var name='blog_title' --></a> + <!-- tmpl_else --> + Untitled Blog + <!-- /tmpl_if --> + </h1> + <!-- tmpl_if name='blog_subtitle' --> + <h2><!-- tmpl_var name='blog_subtitle' --></h2> + <!-- /tmpl_if --> + </div> + + + <div class="entry"> + <div class="title"><!-- tmpl_var name='title' --></div> + <div class="date"><!-- tmpl_var name='date' --></div> + <div class="body"><!-- tmpl_var name='body' --></div> + <!-- tmpl_if name='tags' --> + <div class="tags">Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --></div> + <!-- /tmpl_if --> + </div> + +<!-- tmpl_include name="comment-loop.inc" --> +<!-- tmpl_include name="comment-form.inc" --> + +<div id="sidebar"> +<!-- tmpl_if name='datecloud' --> +<h2>Archive</h2> +<ul> +<!-- tmpl_loop name='datecloud' --> +<li><!-- tmpl_var name='year' --> +<ul> +<!-- tmpl_loop name='months' --> +<li><a href="<!-- tmpl_var name='top' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month_name' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if name='datecloud' --> + +<!-- tmpl_if name='tagcloud' --> +<h2>Tags</h2> +<ul> +<!-- tmpl_loop name='tagcloud' --> + <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if --> +</div> + </body> +</html>