commit 9ffeca9995367aedafd64981ee3e3b4caa87cd9c
parent 732f74b3119a03bcfab32fe1891dc4f3427f7126
Author: Sam Kingston <sam@sjkwi.com.au>
Date: Sun, 10 Oct 2010 20:12:55 +1000
fixed titles
Diffstat:
12 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/constance.py b/constance.py
@@ -38,6 +38,7 @@ xslt = ./style.xsl
[template]
website = http://localhost
+name = Joe Bloggs
email = user@domain.com
disqus_user =
"""
diff --git a/templates/blog/entry.atom b/templates/blog/entry.atom
@@ -12,7 +12,7 @@ from viewutils import ATOM_TIME_FORMAT
<published>${item.publication_date.strftime(ATOM_TIME_FORMAT)}</published>
<updated>${item.modified_date.strftime(ATOM_TIME_FORMAT)}</updated>
<author>
- <name>Dan C</name>
+ <name>${template_config.get('name')}</name>
<email>${template_config.get('email')}</email>
</author>
<category py:for="tag in item.tags" scheme="${template_config.get('website')}/tags/" term="${tag}" />
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()} - Dan’s blog</title>
+ <title>${item.title.striptags()}</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>${template_config.get('website')}/blog/index.atom</id>
-<title type="text">Dan’s blog</title>
+<title type="text">Blog entries</title>
<link rel="self" type="application/atom+xml" href="${template_config.get('website')}/blog/index.atom" />
<link rel="alternate" href="${template_config.get('website')}/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>Dan’s blog</title>
+ <title>Blog archive</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>${template_config.get('website')}/firehose.atom</id>
-<title type="text">Dan’s firehose</title>
+<title type="text">Firehose</title>
<link rel="self" type="application/atom+xml" href="${template_config.get('website')}/firehose.atom" />
<link rel="alternate" href="${template_config.get('website')}/" />
<generator>constance</generator>
diff --git a/templates/homepage/index.html b/templates/homepage/index.html
@@ -9,7 +9,6 @@ from viewutils import markdown, mini_markdown, tag_list
<head>
<link rel="alternate" type="application/atom+xml" title="Atom feed" href="firehose.atom" />
- <title>Dan’s homepage</title>
</head>
<body>
diff --git a/templates/reading/entry.atom b/templates/reading/entry.atom
@@ -10,7 +10,7 @@ from viewutils import ATOM_TIME_FORMAT
<published>${item.publication_date.strftime(ATOM_TIME_FORMAT)}</published>
<updated>${item.modified_date.strftime(ATOM_TIME_FORMAT)}</updated>
<author>
- <name>Dan C</name>
+ <name>${template_config.get('name')}</name>
<email>${template_config.get('email')}</email>
</author>
<category py:for="tag in item.tags" scheme="${template_config.get('website')}/tags/" term="${tag}" />
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>${template_config.get('website')}/reading.atom</id>
-<title type="text">Dan’s reading log</title>
+<title type="text">Reading log</title>
<link rel="self" type="application/atom+xml" href="${template_config.get('website')}/reading.atom" />
<link rel="alternate" href="${template_config.get('website')}/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>Dan’s reading log</title>
+ <title>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>Dan’s tag cloud</title>
+ <title>Tag cloud</title>
<link rel="stylesheet" type="text/css" href="../style/tag_cloud.css" />
</head>
<body>
diff --git a/templates/tags/tag.html b/templates/tags/tag.html
@@ -8,12 +8,12 @@ from viewutils import markdown, mini_markdown, tag_list
?>
<head>
- <title>“${tag}” tag</title>
+ <title>“${tag}” tag</title>
</head>
<body>
- <h1>“${tag}” tag</h1>
+ <h1>“${tag}” tag</h1>
<div class="item blog-entry-stub" py:for="item in sorted(items, key=lambda e: e.publication_date, reverse=True)">
<h3 class="entry-title"><a href="/blog/${item.id}">${item.title}</a></h3>