constance

Scripts for generating (an earlier obsolete version of) my personal web site
git clone https://code.djc.id.au/git/constance/
commit 78945d9906b52467d20c325eb977341a3cf14264
parent 4d2e9a53e308ddc5bcdb5ebaf70a98438724259e
Author: Dan Callaghan <djc@djc.id.au>
Date:   Wed, 17 Sep 2008 23:13:28 +1000

need unicode in templates

Diffstat:
Mtemplates/_commonwrapper.xml | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/_commonwrapper.xml b/templates/_commonwrapper.xml
@@ -10,8 +10,8 @@
 <py:match path="head">
 	<head profile="http://gmpg.org/xfn/11" py:attrs="select('@*')" py:with="title = unicode(select('title[1]/text()'))">
 		${select('./*[local-name() != "title"]')}
-        <title py:if="title">${title} - ${config.get('global', 'name')}</title>
-		<title py:if="not title">${config.get('global', 'name')}</title>
+        <title py:if="title">${title} - ${config.getunicode('global', 'name')}</title>
+		<title py:if="not title">${config.getunicode('global', 'name')}</title>
         <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 		<meta name="generator" content="constance" />
         <link rel="stylesheet" type="text/css" href="${environ.get('SCRIPT_NAME', '')}/static/css/common.css" />