Skip to content

Commit 549ed2b

Browse files
committed
All templates now use HTML5 doctype
1 parent 4c5427b commit 549ed2b

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

newsletter/templates/newsletter/common.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
<?xml version="1.0"?>
2-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4-
<html xmlns="http://www.w3.org/1999/xhtml">
5-
{% load i18n %}
1+
{% load i18n %}
2+
<!DOCTYPE html>
3+
<html>
64
<head>
5+
<meta charset="utf-8">
76
<title>{% block title %}{% trans "Newsletter" %}{% endblock title %}</title>
8-
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
97
{% block header %}
108
{% endblock header %}
119
</head>

newsletter/templates/newsletter/message/message.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<html>
44
<head>
5-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5+
<meta charset="utf-8">
66
<title>{{ newsletter.title }}: {{ message.title }}</title>
77
</head>
88
<body>

newsletter/templates/newsletter/message/subscribe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<html>
44
<head>
5-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5+
<meta charset="utf-8">
66
<title>{% blocktrans with title=newsletter.title %}Subscription to {{ title }}{% endblocktrans %}
77
</title>
88
</head>

newsletter/templates/newsletter/message/unsubscribe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<html>
44
<head>
5-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5+
<meta charset="utf-8">
66
<title>{% blocktrans with title=newsletter.title %}Unsubscription from {{ title }}{% endblocktrans %}</title>
77
</head>
88
<body>

newsletter/templates/newsletter/message/update.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<html>
44
<head>
5-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5+
<meta charset="utf-8">
66
<title>{% blocktrans with title=newsletter.title %}Update of subscription to {{ title }}{% endblocktrans %}</title>
77
</head>
88
<body>

0 commit comments

Comments
 (0)