Mercurial > hg > chronicle
comparison themes/default/index.template @ 21:393cf6c9301b
2007-08-15 00:40:35 by steve
Added the ability to have titles + subtitles to blogs.
Added RSS logo.
author | steve |
---|---|
date | Wed, 15 Aug 2007 00:40:36 +0000 |
parents | b8a289afc783 |
children | 4a936d95aca5 |
comparison
equal
deleted
inserted
replaced
20:b029b7a32d6c | 21:393cf6c9301b |
---|---|
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: Index</title> | 5 <title><!-- tmpl_var name='blog_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='url_prefix' -->style.css"> |
7 <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='url_prefix' -->index.rss" type="application/rss+xml"> | 7 <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='url_prefix' -->index.rss" type="application/rss+xml"> |
8 | 8 |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
11 | 11 |
12 <h1>Most Recent Entries</h1> | 12 <div class="title"> |
13 <h1><!-- tmpl_if name='blog_title' --> | |
14 <a href="<!-- tmpl_var name='url_prefix' -->"><!-- tmpl_var name='blog_title' --></a> | |
15 <!-- tmpl_else --> | |
16 Untitled Blog | |
17 <!-- /tmpl_if --> | |
18 </h1> | |
19 <!-- tmpl_if name='blog_subtitle' --> | |
20 <h2><!-- tmpl_var name='blog_subtitle' --></h2> | |
21 <!-- /tmpl_if --> | |
22 </div> | |
23 | |
24 <p style="text-align: right;"><a href="index.rss"><img src="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->xml.gif"></a></p> | |
13 | 25 |
14 <!-- tmpl_loop name='entries' --> | 26 <!-- tmpl_loop name='entries' --> |
15 <div class="entry"> | 27 <div class="entry"> |
16 <div class="title"><a href="<!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></div> | 28 <div class="title"><a href="<!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></div> |
17 <div class="date"><!-- tmpl_var name='date' --></div> | 29 <div class="date"><!-- tmpl_var name='date' --></div> |
24 <!-- /tmpl_if --> | 36 <!-- /tmpl_if --> |
25 </div> | 37 </div> |
26 </div> | 38 </div> |
27 <div class="padding"></div> | 39 <div class="padding"></div> |
28 <!-- /tmpl_loop --> | 40 <!-- /tmpl_loop --> |
29 | 41 <p style="text-align: right;"><a href="index.rss"><img src="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->xml.gif"></a></p> |
30 | 42 |
31 <div id="sidebar"> | 43 <div id="sidebar"> |
32 | 44 |
33 <!-- tmpl_if name='datecloud' --> | 45 <!-- tmpl_if name='datecloud' --> |
34 <h2>Archive</h2> | 46 <h2>Archive</h2> |