Browse Source

Fix titles for error routes.

master
Ben Kurtovic 8 years ago
parent
commit
9a4c10ff74
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/_base.mako

+ 1
- 1
templates/_base.mako View File

@@ -5,7 +5,7 @@
<title>
<%def name="maketitle(*parts)">
<%
if request.url_rule.endpoint == "index":
if request.url_rule and request.url_rule.endpoint == "index":
parts = ()
%>
${" | ".join(parts + (g.config.get("corp.name"),)) | h}


Loading…
Cancel
Save