constance

Scripts for generating (an earlier obsolete version of) my personal web site
git clone https://code.djc.id.au/git/constance/
commit bc15276e438a40cfe3b3e6491a4bea15613d531e
parent 4b07b7e24b46c89c0d5ad9043ac626eec95c743c
Author: Dan Callaghan <djc@djc.id.au>
Date:   Fri, 27 Aug 2010 08:57:45 +1000

fiddling with page titles (TODO make these non-me-specific)

Diffstat:
Mtemplates/blog/entry.html | 2+-
Mtemplates/blog/index.atom | 2+-
Mtemplates/blog/index.html | 2+-
Mtemplates/homepage/firehose.atom | 2+-
Mtemplates/homepage/index.html | 1+
Mtemplates/reading/reading.atom | 2+-
Mtemplates/reading/reading.html | 2+-
Mtemplates/tags/index.html | 2+-
8 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/templates/blog/entry.html b/templates/blog/entry.html
@@ -7,7 +7,7 @@ from viewutils import tag_list
 ?>
 
 <head>
-    <title>${item.title.striptags()}</title>
+    <title>${item.title.striptags()} - Dan’s blog</title>
     <meta name="DC.date" content="${item.publication_date.strftime(str('%Y-%m-%d'))}" />
 </head>
 <body>
diff --git a/templates/blog/index.atom b/templates/blog/index.atom
@@ -8,7 +8,7 @@ sorted_items = sorted(items, key=lambda item: item.publication_date, reverse=Tru
 ?>
 
 <id>http://www.djc.id.au/blog/index.atom</id>
-<title type="text">djc blog</title>
+<title type="text">Dan’s blog</title>
 <link rel="self" type="application/atom+xml" href="http://www.djc.id.au/blog/index.atom" />
 <link rel="alternate" href="http://www.djc.id.au/blog/" />
 <generator>constance</generator>
diff --git a/templates/blog/index.html b/templates/blog/index.html
@@ -8,7 +8,7 @@ from viewutils import markdown, mini_markdown, tag_list
 ?>
 
 <head>
-    <title>Blog archive</title>
+    <title>Dan’s blog</title>
     <link rel="alternate" type="application/atom+xml" title="Atom feed" href="index.atom" />
 </head>
 
diff --git a/templates/homepage/firehose.atom b/templates/homepage/firehose.atom
@@ -8,7 +8,7 @@ sorted_items = sorted(items, key=lambda item: item.publication_date, reverse=Tru
 ?>
 
 <id>http://www.djc.id.au/firehose.atom</id>
-<title type="text">djc firehose</title>
+<title type="text">Dan’s firehose</title>
 <link rel="self" type="application/atom+xml" href="http://www.djc.id.au/firehose.atom" />
 <link rel="alternate" href="http://www.djc.id.au/" />
 <generator>constance</generator>
diff --git a/templates/homepage/index.html b/templates/homepage/index.html
@@ -15,6 +15,7 @@ from viewutils import markdown, mini_markdown, tag_list
     <link rel="openid2.local_id" href="http://djc.myopenid.com" />
     <link rel="openid2.provider" href="http://www.myopenid.com/server" />
     <meta http-equiv="X-XRDS-Location" content="http://www.myopenid.com/xrds?username=djc.myopenid.com" />
+    <title>Dan’s homepage</title>
 </head>
 
 <body>
diff --git a/templates/reading/reading.atom b/templates/reading/reading.atom
@@ -8,7 +8,7 @@ sorted_items = sorted(items, key=lambda item: item.publication_date, reverse=Tru
 ?>
 
 <id>http://www.djc.id.au/reading.atom</id>
-<title type="text">djc reading log</title>
+<title type="text">Dan’s reading log</title>
 <link rel="self" type="application/atom+xml" href="http://www.djc.id.au/reading.atom" />
 <link rel="alternate" href="http://www.djc.id.au/reading" />
 <generator>constance</generator>
diff --git a/templates/reading/reading.html b/templates/reading/reading.html
@@ -11,7 +11,7 @@ from viewutils import markdown, mini_markdown, tag_list, idify
 </span>
 
 <head>
-    <title>Reading log</title>
+    <title>Dan’s reading log</title>
     <link rel="alternate" type="application/atom+xml" title="Atom feed" href="reading.atom" />
 </head>
 
diff --git a/templates/tags/index.html b/templates/tags/index.html
@@ -3,7 +3,7 @@
 	  lang="en-AU">
 
 <head>
-    <title>Tag cloud</title>
+    <title>Dan’s tag cloud</title>
     <link rel="stylesheet" type="text/css" href="../style/tag_cloud.css" />
 </head>
 <body>