Don't try and translate c.site.title

We won't have translations for user-entered data
This commit is contained in:
Keith Mitchell
2011-12-01 11:03:24 -08:00
parent 502ebd2c47
commit ea00e4996b
3 changed files with 3 additions and 15 deletions

View File

@@ -63,13 +63,7 @@
</%def>
<%def name="Title()">
<%
try:
title = _(c.site.title)
except UnicodeDecodeError:
title = c.site.title
%>
${title}
${c.site.title}
</%def>
<%def name="keywords()">

View File

@@ -44,7 +44,7 @@ ${next.body()}
<%def name="Title()">
${_(c.site.title)}
${c.site.title}
</%def>

View File

@@ -48,12 +48,6 @@
</rss>
<%def name="Title()">
<%
try:
title = _(c.site.title)
except UnicodeDecodeError:
title = c.site.title
%>
${title}
${c.site.title}
</%def>