Generate valid XHTML for now (until TG supports passing more options to Genshi)- minor template fix/validation corrections.

This commit is contained in:
Ricky Zhou (周家杰) 2007-09-11 19:27:57 -07:00
parent c19f6546e9
commit ae5cd66631
3 changed files with 11 additions and 10 deletions

View file

@ -19,9 +19,10 @@ tg.defaultview = "genshi"
# One of (html|html-strict|xhtml|xhtml-strict|xml|json)
# kid.outputformat="html"
genshi.outputformat = "html"
genshi.outputformat = "xhtml"
# When @#%*( TG supports this....
#genshi.outputformat = "html"
#genshi.default_doctype = "html-strict"
# kid.encoding="utf-8"

View file

@ -5,14 +5,14 @@
<xi:include href="master.html" />
<head>
<title>Login to the Fedora Accounts System</title>
<style type="text/css">
#content ul
{
list-style: square;
margin: 1ex 3ex;
}
</style>
</head>
<style type="text/css">
#content ul
{
list-style: square;
margin: 1ex 3ex;
}
</style>
<body>
<h2>Login</h2>
<p>${message}</p>

View file

@ -3,9 +3,9 @@
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:py="http://genshi.edgewall.org/"
py:strip="">
<head>
<title>${title}</title>
<head py:match="head" py:attrs="select('@*')">
<link href="${tg.url('/static/css/style.css')}" rel="stylesheet" type="text/css" />
<meta py:replace="select('*|text()')" />
</head>
<body py:match="body" py:attrs="select('@*')">
<div id="wrapper">