changeset 5:3a684eb36140

2007-08-13 22:56:40 by steve Added.
author steve
date Mon, 13 Aug 2007 22:56:40 +0000
parents 1465af87859a
children e35a3985f60f
files themes/default/entry.template themes/default/index.template themes/default/index.xml.template themes/default/month.template themes/default/month.xml.template themes/default/tags.template themes/default/tags.xml.template
diffstat 7 files changed, 286 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/entry.template	Mon Aug 13 22:56:40 2007 +0000
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+  <title>Blog: <!-- tmpl_var name='title' --></title>
+  <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='url_prefix' -->style.css">
+ </head>
+ <body>
+
+
+<h1><a href="index.html">Blog</a> &gt; <!-- tmpl_var name='title' --></h1>
+ <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='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --></div>
+   <!-- /tmpl_if -->
+  </div>
+
+<div id="sidebar">
+<!-- tmpl_if name='tagcloud' -->
+<!-- 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='url_prefix' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li>
+<!-- /tmpl_loop -->
+</ul></li>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if name='datecloud' -->
+
+<h2>Tags</h2>
+<!-- Tag Cloud -->
+<ul>
+<!-- tmpl_loop name='tagcloud' -->
+ <li><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if -->
+</div>
+ </body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/index.template	Mon Aug 13 22:56:40 2007 +0000
@@ -0,0 +1,58 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+  <title>Blog: Index</title>
+  <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='url_prefix' -->style.css">
+  <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='url_prefix' -->index.rss" type="application/rss+xml">
+
+ </head>
+ <body>
+
+ <h1>Most Recent Entries</h1>
+
+ <!-- tmpl_loop name='entries' -->
+ <div class="entry">
+  <div class="title"><a href="<!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></div>
+  <div class="date"><!-- tmpl_var name='date' --></div>
+  <div class="body"><!-- tmpl_var name='body' --></div>
+  <div class="tags">
+   <!-- tmpl_if name='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 --> 
+  <!-- tmpl_else -->
+    No tags
+  <!-- /tmpl_if -->
+  </div>
+ </div>
+ <div class="padding"></div>
+ <!-- /tmpl_loop -->
+
+
+<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='url_prefix' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li>
+<!-- /tmpl_loop -->
+</ul></li>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if name='datecloud' -->
+
+<!-- tmpl_if name='tagcloud' -->
+<h2>Tags</h2>
+<!-- Tag Cloud -->
+<ul>
+<!-- tmpl_loop name='tagcloud' -->
+ <li><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if -->
+</div>
+</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/index.xml.template	Mon Aug 13 22:56:40 2007 +0000
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
+	<channel>
+		<title>Blog Entries</title>
+		<description>Blog Entries</description>
+
+	<!-- tmpl_loop name="entries" -->
+	<item>
+		<title><!-- tmpl_var name="title" escape='html' --></title>
+		<link><!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' --></link>        
+		<guid isPermaLink="true"><!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' --></guid>
+		<description><!-- tmpl_var name="body" escape='html' --></description>
+	</item>
+	<!-- /tmpl_loop -->
+        </channel>
+</rss>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/month.template	Mon Aug 13 22:56:40 2007 +0000
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+  <title>Blog : Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></title>
+  <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">
+  <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='month' escape='html' -->.rss" type="application/rss+xml">
+ </head>
+ <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>
+
+<!-- tmpl_loop name='entries' -->
+<div class="entry">
+ <div class="title">
+ <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>
+ </div>
+ <div class="date">
+  <!-- tmpl_var name='date' -->
+ </div>
+
+ <div class="body">
+  <!-- tmpl_var name='body' -->
+ </div>
+ <div class="tags">
+ <!-- tmpl_if name='tags' -->
+  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 -->
+ <!-- tmpl_else -->
+  No tags
+ <!-- /tmpl_if -->
+ </div>
+</div>
+ <div class="padding"></div>
+<!-- /tmpl_loop -->
+
+<!-- tmpl_if name='tagcloud' -->
+
+
+
+<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_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>
+<!-- /tmpl_loop -->
+</ul></li>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if name='datecloud' -->
+
+<h2>Tags</h2>
+<!-- Tag Cloud -->
+<ul>
+<!-- tmpl_loop name='tagcloud' -->
+ <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>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if -->
+</div>
+</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/month.xml.template	Mon Aug 13 22:56:40 2007 +0000
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
+	<channel>
+		<title>Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></title>
+		<description>Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></description>
+
+	<!-- tmpl_loop name="entries" -->
+	<item>
+		<title><!-- tmpl_var name="title" escape='html' --></title>
+		<link><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></link>        
+		<guid isPermaLink="true"><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></guid>
+		<description><!-- tmpl_var name="body" escape='html' --></description>
+	</item>
+	<!-- /tmpl_loop -->
+        </channel>
+</rss>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/tags.template	Mon Aug 13 22:56:40 2007 +0000
@@ -0,0 +1,66 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+  <title>Blog : Entries Tagged <!-- tmpl_var name='tagname' --></title> 
+  <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">
+  <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='tagname' escape='html' -->.rss" type="application/rss+xml">
+ </head>
+ <body>
+
+<h1><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->">Blog</a> &gt; Entries Tagged &quot;<tt><!-- tmpl_var name='tagname' --></tt>&quot;</h1>
+
+<p>If you wish you may subscribe to an <a href="<!-- tmpl_var name='tagname' escape='html' -->.rss">RSS feed</a> of matching entries.</p>
+
+
+<!-- tmpl_loop name='entries' -->
+<div class="entry">
+ <div class="title">
+ <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>
+ </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_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 -->
+ </div>
+ <!-- /tmpl_if -->
+</div>
+<div class="padding"></div>
+<!-- /tmpl_loop -->
+
+
+
+
+<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_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>
+<!-- /tmpl_loop -->
+</ul></li>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if name='datecloud' -->
+
+<!-- tmpl_if name='tagcloud' -->
+<h2>Tags</h2>
+<!-- Tag Cloud -->
+<ul>
+<!-- tmpl_loop name='tagcloud' -->
+ <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>
+<!-- /tmpl_loop -->
+</ul>
+<!-- /tmpl_if -->
+</div>
+</body>
+</html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/tags.xml.template	Mon Aug 13 22:56:40 2007 +0000
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
+	<channel>
+		<title>Entries tagged <!-- tmpl_var name='tagname' escape='html' --></title>
+		<description>Entries tagged <!-- tmpl_var name='tagname' escape='html' --></description>
+
+	<!-- tmpl_loop name="entries" -->
+	<item>
+		<title><!-- tmpl_var name="title" escape='html' --></title>
+		<link><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></link>        
+		<guid isPermaLink="true"><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></guid>
+		<description><!-- tmpl_var name="body" escape='html' --></description>
+	</item>
+	<!-- /tmpl_loop -->
+        </channel>
+</rss>