Skip to content

Commit

Permalink
- don't declare show_title() in the base
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeek committed Apr 6, 2011
1 parent 4a19e4d commit 33b034f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/build/templates/site_base.mako
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ ${'</%text>'}
<link href="/css/site_docs.css" rel="stylesheet" type="text/css"></link>
<%text></%def></%text>

<%text><%def name="title()"></%text><%block name="show_title"/> &mdash; ${docstitle|h}<%text></%def></%text>
<%text><%def name="title()"></%text>${self.show_title()} &mdash; ${docstitle|h}<%text></%def></%text>


<%!
local_script_files = []
Expand Down
2 changes: 1 addition & 1 deletion doc/build/templates/static_base.mako
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
${metatags and metatags or ''}
<title><%block name="show_title"/> &mdash; ${docstitle|h}</title>
<title>${self.show_title()} &mdash; ${docstitle|h}</title>
<%block name="headers"/>
</head>
<body>
Expand Down

0 comments on commit 33b034f

Please sign in to comment.