aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-11-24 19:21:35 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-11-24 19:21:35 +0000
commitd642848336a9ced0072a279a8fafa6a9f58adb54 (patch)
tree70393498af84b6c08386a553aedf915c8841e27c /web
parentLog creation of threads, and also close memcached connections when we are don... (diff)
downloadpackages-d642848336a9ced0072a279a8fafa6a9f58adb54.tar.gz
packages-d642848336a9ced0072a279a8fafa6a9f58adb54.tar.bz2
packages-d642848336a9ced0072a279a8fafa6a9f58adb54.zip
Fix XHTML validation issues.
Diffstat (limited to 'web')
-rw-r--r--web/templates/index.html1
-rw-r--r--web/templates/layout.html18
2 files changed, 9 insertions, 10 deletions
diff --git a/web/templates/index.html b/web/templates/index.html
index df07a6f..c56bf8b 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -5,7 +5,6 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
- xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:lang="en" lang="en">
diff --git a/web/templates/layout.html b/web/templates/layout.html
index 801314d..6ca22ee 100644
--- a/web/templates/layout.html
+++ b/web/templates/layout.html
@@ -24,7 +24,7 @@ def alpha_url(baseurl):
<!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" xmlns:py="http://genshi.edgewall.org/" xml:lang="en" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xml:lang="en" lang="en" py:strip="">
<py:match path="head" once="true">
<head py:attrs="select('@*')">
<title>
@@ -40,14 +40,14 @@ def alpha_url(baseurl):
<py:match path="leftcontent" once="true">
<div id="leftcontent">
<div id="banner">
- <img src="/media/gtop-www.jpg" alt="Gentoo Logo" />
- </div>
- <p py:for="day, pvs in daylist">
- ${day}
- <ul>
- <li py:for="pv,pn in pvs"><a href="${relurl('/package/'+pn)}">${HTML(pv)}</a></li>
- </ul>
- </p>
+ <img src="/media/gtop-www.jpg" alt="Gentoo Logo" />
+ </div>
+ <div py:for="day, pvs in daylist">
+ <p>${day}</p>
+ <ul>
+ <li py:for="pv,pn in pvs"><a href="${relurl('/package/'+pn)}">${HTML(pv)}</a></li>
+ </ul>
+ </div>
</div>
</py:match>