Mercurial > hg > chronicle
comparison themes/default/month.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 | b45bf60f66e1 |
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 : Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></title> | 5 <title>Blog : Entries from <!-- tmpl_var name='month_name' --> <!-- tmpl_var name='year' --></title> |
6 <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->style.css"> | 6 <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='top' -->style.css"> |
7 <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='month' escape='html' -->.rss" type="application/rss+xml"> | 7 <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='month' escape='html' -->.rss" type="application/rss+xml"> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <!-- XML FEED --> | 10 <!-- XML FEED --> |
11 | 11 |
12 <div class="title"> | 12 <div class="title"> |
13 <h1><!-- tmpl_if name='blog_title' --> | 13 <h1><!-- tmpl_if name='blog_title' --> |
14 <a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->"><!-- tmpl_var name='blog_title' --></a> | 14 <a href="<!-- tmpl_var name='top' -->"><!-- tmpl_var name='blog_title' --></a> |
15 <!-- tmpl_else --> | 15 <!-- tmpl_else --> |
16 Untitled Blog | 16 Untitled Blog |
17 <!-- /tmpl_if --> | 17 <!-- /tmpl_if --> |
18 </h1> | 18 </h1> |
19 <!-- tmpl_if name='blog_subtitle' --> | 19 <!-- tmpl_if name='blog_subtitle' --> |
20 <h2><!-- tmpl_var name='blog_subtitle' --></h2> | 20 <h2><!-- tmpl_var name='blog_subtitle' --></h2> |
21 <!-- /tmpl_if --> | 21 <!-- /tmpl_if --> |
22 </div> | 22 </div> |
23 | 23 |
24 <p>Entries from <!-- tmpl_var name='month' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</p> | 24 <p>Entries from <!-- tmpl_var name='month_name' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</p> |
25 | 25 |
26 <!-- tmpl_loop name='entries' --> | 26 <!-- tmpl_loop name='entries' --> |
27 <div class="entry"> | 27 <div class="entry"> |
28 <div class="title"> | 28 <div class="title"> |
29 <a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a> | 29 <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a> |
30 </div> | 30 </div> |
31 <div class="date"> | 31 <div class="date"> |
32 <!-- tmpl_var name='date' --> | 32 <!-- tmpl_var name='date' --> |
33 </div> | 33 </div> |
34 | 34 |
35 <div class="body"> | 35 <div class="body"> |
36 <!-- tmpl_var name='body' --> | 36 <!-- tmpl_var name='body' --> |
37 </div> | 37 </div> |
38 <div class="tags"> | 38 <div class="tags"> |
39 <!-- tmpl_if name='tags' --> | 39 <!-- tmpl_if name='tags' --> |
40 Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> | 40 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 --> |
41 <!-- tmpl_else --> | 41 <!-- tmpl_else --> |
42 No tags | 42 No tags |
43 <!-- /tmpl_if --> | 43 <!-- /tmpl_if --> |
44 </div> | 44 </div> |
45 </div> | 45 </div> |
46 <div class="padding"></div> | 46 <div class="padding"></div> |
47 <!-- /tmpl_loop --> | 47 <!-- /tmpl_loop --> |
48 <p style="text-align: right;"><a href="<!-- tmpl_var name='month' escape='html' -->.rss"><img src="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->xml.gif"></a></p> | 48 <p style="text-align: right;"><a href="<!-- tmpl_var name='month' escape='html' -->.rss"><img src="<!-- tmpl_var name='top' -->xml.gif"></a></p> |
49 | 49 |
50 | 50 |
51 | 51 |
52 <div id="sidebar"> | 52 <div id="sidebar"> |
53 <!-- tmpl_if name='datecloud' --> | 53 <!-- tmpl_if name='datecloud' --> |
55 <ul> | 55 <ul> |
56 <!-- tmpl_loop name='datecloud' --> | 56 <!-- tmpl_loop name='datecloud' --> |
57 <li><!-- tmpl_var name='year' --> | 57 <li><!-- tmpl_var name='year' --> |
58 <ul> | 58 <ul> |
59 <!-- tmpl_loop name='months' --> | 59 <!-- tmpl_loop name='months' --> |
60 <li><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li> | 60 <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> |
61 <!-- /tmpl_loop --> | 61 <!-- /tmpl_loop --> |
62 </ul></li> | 62 </ul></li> |
63 <!-- /tmpl_loop --> | 63 <!-- /tmpl_loop --> |
64 </ul> | 64 </ul> |
65 <!-- /tmpl_if name='datecloud' --> | 65 <!-- /tmpl_if name='datecloud' --> |
66 | 66 |
67 <!-- tmpl_if name='tagcloud' --> | 67 <!-- tmpl_if name='tagcloud' --> |
68 <h2>Tags</h2> | 68 <h2>Tags</h2> |
69 <ul> | 69 <ul> |
70 <!-- tmpl_loop name='tagcloud' --> | 70 <!-- tmpl_loop name='tagcloud' --> |
71 <li><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> | 71 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> |
72 <!-- /tmpl_loop --> | 72 <!-- /tmpl_loop --> |
73 </ul> | 73 </ul> |
74 <!-- /tmpl_if --> | 74 <!-- /tmpl_if --> |
75 </div> | 75 </div> |
76 </body> | 76 </body> |