Mercurial > hg > chronicle
comparison themes/default/entry.template @ 39:6b5d3f055a8c
2007-10-10 08:53:45 by steve
Patches from Josh Grams - prefix handling updates and better dates.
author | steve |
---|---|
date | Wed, 10 Oct 2007 08:53:45 +0000 |
parents | 393cf6c9301b |
children | 1dfe7bba023c |
comparison
equal
deleted
inserted
replaced
38:bd73942eec73 | 39:6b5d3f055a8c |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <title>Blog: <!-- tmpl_var name='title' --></title> | 5 <title>Blog: <!-- tmpl_var name='title' --></title> |
6 <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='url_prefix' -->style.css"> | 6 <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='top' -->style.css"> |
7 </head> | 7 </head> |
8 <body> | 8 <body> |
9 | 9 |
10 <div class="title"> | 10 <div class="title"> |
11 <h1><!-- tmpl_if name='blog_title' --> | 11 <h1><!-- tmpl_if name='blog_title' --> |
12 <a href="<!-- tmpl_var name='url_prefix' -->"><!-- tmpl_var name='blog_title' --></a> | 12 <a href="<!-- tmpl_var name='top' -->"><!-- tmpl_var name='blog_title' --></a> |
13 <!-- tmpl_else --> | 13 <!-- tmpl_else --> |
14 Untitled Blog | 14 Untitled Blog |
15 <!-- /tmpl_if --> | 15 <!-- /tmpl_if --> |
16 </h1> | 16 </h1> |
17 <!-- tmpl_if name='blog_subtitle' --> | 17 <!-- tmpl_if name='blog_subtitle' --> |
23 <div class="entry"> | 23 <div class="entry"> |
24 <div class="title"><!-- tmpl_var name='title' --></div> | 24 <div class="title"><!-- tmpl_var name='title' --></div> |
25 <div class="date"><!-- tmpl_var name='date' --></div> | 25 <div class="date"><!-- tmpl_var name='date' --></div> |
26 <div class="body"><!-- tmpl_var name='body' --></div> | 26 <div class="body"><!-- tmpl_var name='body' --></div> |
27 <!-- tmpl_if name='tags' --> | 27 <!-- tmpl_if name='tags' --> |
28 <div class="tags">Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --></div> | 28 <div class="tags">Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --></div> |
29 <!-- /tmpl_if --> | 29 <!-- /tmpl_if --> |
30 </div> | 30 </div> |
31 | 31 |
32 <div id="sidebar"> | 32 <div id="sidebar"> |
33 <!-- tmpl_if name='datecloud' --> | 33 <!-- tmpl_if name='datecloud' --> |
35 <ul> | 35 <ul> |
36 <!-- tmpl_loop name='datecloud' --> | 36 <!-- tmpl_loop name='datecloud' --> |
37 <li><!-- tmpl_var name='year' --> | 37 <li><!-- tmpl_var name='year' --> |
38 <ul> | 38 <ul> |
39 <!-- tmpl_loop name='months' --> | 39 <!-- tmpl_loop name='months' --> |
40 <li><a href="<!-- tmpl_var name='url_prefix' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li> | 40 <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> |
41 <!-- /tmpl_loop --> | 41 <!-- /tmpl_loop --> |
42 </ul></li> | 42 </ul></li> |
43 <!-- /tmpl_loop --> | 43 <!-- /tmpl_loop --> |
44 </ul> | 44 </ul> |
45 <!-- /tmpl_if name='datecloud' --> | 45 <!-- /tmpl_if name='datecloud' --> |
46 | 46 |
47 <!-- tmpl_if name='tagcloud' --> | 47 <!-- tmpl_if name='tagcloud' --> |
48 <h2>Tags</h2> | 48 <h2>Tags</h2> |
49 <ul> | 49 <ul> |
50 <!-- tmpl_loop name='tagcloud' --> | 50 <!-- tmpl_loop name='tagcloud' --> |
51 <li><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> | 51 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> |
52 <!-- /tmpl_loop --> | 52 <!-- /tmpl_loop --> |
53 </ul> | 53 </ul> |
54 <!-- /tmpl_if --> | 54 <!-- /tmpl_if --> |
55 </div> | 55 </div> |
56 </body> | 56 </body> |