defining functions is surprisingly expensive!
parent
74dac78288
commit
6991d70eb3
|
@ -145,7 +145,6 @@
|
|||
${site_footer ()}
|
||||
|
||||
|
||||
${site_top ()}
|
||||
|
||||
<xi:include href="menu.html" />
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -66,8 +66,7 @@ Gutenberg metadata much faster than by scraping.
|
|||
|
||||
<body>
|
||||
<div class="container">
|
||||
${site_top()}
|
||||
|
||||
<xi:include href="menu.html" />
|
||||
<div class="page_content" id="content" itemscope="itemscope" itemtype="http://schema.org/Book" i18n:comment="On the 'bibrec' page.">
|
||||
|
||||
<div class="breadcrumbs noprint">
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
${site_top()}
|
||||
<xi:include href="menu.html" />
|
||||
<div id="page_content" i18n:comment="error page." style="margin-top: 4em">
|
||||
|
||||
<h1>${os.message}</h1>
|
||||
|
|
|
@ -134,7 +134,7 @@ which contains *all* Project Gutenberg metadata in one RDF/XML file.
|
|||
${site_footer ()}
|
||||
|
||||
|
||||
${site_top ()}
|
||||
<xi:include href="menu.html" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -115,14 +115,6 @@
|
|||
</div>
|
||||
</py:def>
|
||||
|
||||
<py:def function="site_top">
|
||||
<xi:include href="menu.html" />
|
||||
</py:def>
|
||||
|
||||
<py:def function="advsearch">
|
||||
<xi:include href="advsearch.html" />
|
||||
</py:def>
|
||||
|
||||
<py:def function="site_footer">
|
||||
<div class="footer" i18n:comment="On the footer of every page.">
|
||||
<xi:include href="footer.html" />
|
||||
|
|
Loading…
Reference in New Issue