summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-03 20:08:47 +0100
committerDan McGee <dan@archlinux.org>2011-12-03 20:08:47 +0100
commitb2de5fec2bd112eb937dcb98b25685078cccdeb1 (patch)
treeca5a44e307acfef77742abbf2b1cf9fe74c627cd
parentff371bd37628ab6f66cf4add79bb67c276e49035 (diff)
downloadarchweb-b2de5fec2bd112eb937dcb98b25685078cccdeb1.tar.gz
archweb-b2de5fec2bd112eb937dcb98b25685078cccdeb1.tar.xz
Switch to HTML5 doctype for base template
This moves us from XHTML strict to the more useful HTML5 doctype. One old holdover table attribute (cellspacing) is also fixed. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/base.html5
-rw-r--r--templates/public/developer_list.html2
2 files changed, 3 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html
index 3b50907..a120c53 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,6 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html lang="en">
<head>
<title>{% block title %}Arch Linux{% endblock %}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html
index 5aa4c6b..83c6295 100644
--- a/templates/public/developer_list.html
+++ b/templates/public/developer_list.html
@@ -18,7 +18,7 @@
</td>
<td>
<a name="{{ dev.username }}"></a>
- <table class="bio bio-{{ dev.username }}" cellspacing="0">
+ <table class="bio bio-{{ dev.username }}">
<tr>
<th>Name:</th>
<td>{{ dev.get_full_name }}{% if prof.latin_name %} ({{ prof.latin_name}}){% endif %}</td>