Skip to content

Commit 74194c0

Browse files
committed
Fix page title for 404/500 pages (ticket:298)
- Legacy-Id: 2039
1 parent 7df7ca1 commit 74194c0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/templates/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{# Copyright The IETF Trust 2007, All Rights Reserved #}
22
{% extends "idrfc/base.html" %}
3-
3+
{% block title %}404 Not Found{% endblock %}
44
{% block content %}
55

66
<img src="/images/ietflogo2e.gif" height="80" width="140"/>

ietf/templates/500.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{# Copyright The IETF Trust 2007, All Rights Reserved #}
22
{% extends "idrfc/base.html" %}
3-
3+
{% block title %}500 Internal Server Error{% endblock %}
44
{% block content %}
55

66
<img src="/images/ietflogo2e.gif" height="80" width="140">

ietf/templates/idrfc/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3737
<head>
3838
<!-- v{{version_num}}, {{ revision_num }}, {{ revision_time }} -->
39-
<title>{% block title %}No title{% endblock %}{% ifnotequal server_mode "production" %} - {{ server_mode|upper }} MODE{% endifnotequal %}</title>
39+
<title>{% block title %}No title{% endblock %}{% if server_mode %}{% ifnotequal server_mode "production" %} - {{ server_mode|upper }} MODE{% endifnotequal %}{% endif %}</title>
4040
<link rel="stylesheet" type="text/css" href="/css/yui/yui.css"></link>
4141
<link rel="stylesheet" type="text/css" href="/css/base2.css"></link>
4242
<style type="text/css">

0 commit comments

Comments
 (0)