diff themes/default/month.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 b9a683f07bab
line wrap: on
line diff
--- a/themes/default/month.template	Tue Aug 14 21:15:45 2007 +0000
+++ b/themes/default/month.template	Wed Aug 15 00:40:36 2007 +0000
@@ -9,8 +9,19 @@
  <body>
 <!-- XML FEED -->
 
-<h1><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->">Blog</a> &gt; Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></h1>
-<p>If you wish you may subscribe to an <a href="<!-- tmpl_var name='month' escape='html' -->.rss">RSS feed</a> of matching entries.</p>
+ <div class="title">
+  <h1><!-- tmpl_if name='blog_title' -->
+       <a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->"><!-- 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>
+
+ <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>
 
 <!-- tmpl_loop name='entries' -->
 <div class="entry">
@@ -34,6 +45,8 @@
 </div>
  <div class="padding"></div>
 <!-- /tmpl_loop -->
+ <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>
+
 
 
 <div id="sidebar">