Changeset 1369

Show
Ignore:
Timestamp:
09/28/08 20:41:06 (7 weeks ago)
Author:
ArcRiley
Message:

Ticket #964 :

  • split layout from page using Xinclude
  • started work on genindex
Location:
trunk/pysoy/docs/templates
Files:
1 added
1 modified
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/pysoy/docs/templates/layout.html

    r1367 r1369  
    1717     py:if="favicon" /> 
    1818  </head> 
    19   <body> 
    20 ${Markup(body)} 
    21   </body> 
     19  <body /> 
    2220</html> 
  • trunk/pysoy/docs/templates/page.html

    r1367 r1369  
    66      xmlns:xi="http://www.w3.org/2001/XInclude" 
    77      lang="en"> 
    8   <head> 
    9     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    10     <title>${pagename} - ${docstitle}</title> 
    11     <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> 
    12     <link rel="stylesheet" href="_static/${style}" type="text/css"  
    13      py:if="style" /> 
    14     <link rel="shortcut icon" href="_static/${favicon}" type="image/x-icon"  
    15      py:if="favicon" /> 
    16     <link rel="icon" href="_static/${favicon}" type="image/x-icon"  
    17      py:if="favicon" /> 
    18   </head> 
    19   <body> 
     8  <py:match path="body" once="true"><body> 
    209${Markup(body)} 
    21   </body> 
     10  </body></py:match> 
     11  <xi:include href="layout.html" /> 
    2212</html>