Author: ArcRiley Date: 2008-09-28 21:18:22 -0400 (Sun, 28 Sep 2008) New Revision: 1371
Modified: trunk/pysoy/docs/templates/genindex.html trunk/pysoy/docs/templates/layout.html trunk/pysoy/docs/templates/page.html Log: Ticket #964 : * subtemplates now match against "content" instead of "body" Modified: trunk/pysoy/docs/templates/genindex.html =================================================================== --- trunk/pysoy/docs/templates/genindex.html 2008-09-29 00:53:35 UTC (rev 1370) +++ trunk/pysoy/docs/templates/genindex.html 2008-09-29 01:18:22 UTC (rev 1371) @@ -9,7 +9,7 @@ <py:match path="title" once="true" buffer="false"> <title>Index</title> </py:match> - <py:match path="body" once="true" buffer="false"><body> + <py:match path="content" once="true" buffer="false"> <h1 id="index">Index</h1> <py:for each="key, dummy in genindexentries"> @@ -61,5 +61,5 @@ <p><a href="{{ pathto('genindex-all') }}"><strong>Full index on one page</strong></a></p> {% endif %} - </body></py:match> + </py:match> </html> Modified: trunk/pysoy/docs/templates/layout.html =================================================================== --- trunk/pysoy/docs/templates/layout.html 2008-09-29 00:53:35 UTC (rev 1370) +++ trunk/pysoy/docs/templates/layout.html 2008-09-29 01:18:22 UTC (rev 1371) @@ -16,5 +16,7 @@ <link rel="icon" href="_static/${favicon}" type="image/x-icon" py:if="favicon" /> </head> - <body /> + <body> + <div id="content" class="docs"><content /></div> + </body> </html> Modified: trunk/pysoy/docs/templates/page.html =================================================================== --- trunk/pysoy/docs/templates/page.html 2008-09-29 00:53:35 UTC (rev 1370) +++ trunk/pysoy/docs/templates/page.html 2008-09-29 01:18:22 UTC (rev 1371) @@ -5,8 +5,6 @@ xmlns:py="http://genshi.edgewall.org/" xmlns:xi="http://www.w3.org/2001/XInclude" lang="en"> - <py:match path="body" once="true"><body> -${Markup(body)} - </body></py:match> + <py:match path="content" once="true">${Markup(body)}</py:match> <xi:include href="layout.html" /> </html> _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn