Footer should be at the bottom of the page
A footer directive is being placed on top of the page but it should be placed at the bottom. This happens because the decoration which contains the footer element is always at the begining of the document. For example:
#!restructuredtext
some text
.. header:: this is a header
more text
.. footer:: this is a footer
This is translated by rst2pseudoxml.py to:
#!xml
<document source="footer.txt">
<decoration>
<header>
<paragraph>
this is a header
<footer>
<paragraph>
this is a footer
<paragraph>
some text
<paragraph>
more text
and by rst2html5.py to:
#!html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
</head>
<body>
<header>this is a header</header>
<footer>this is a footer</footer>
<p>some text</p>
<p>more text</p>
</body>
</html>
Instead, the final html should be:
#!html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
</head>
<body>
<header>this is a header</header>
<p>some text</p>
<p>more text</p>
<footer>this is a footer</footer>
</body>
</html>