changeset 62:0890ec7069f3

include head.html in the master template
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 29 Nov 2010 17:53:20 -0800
parents f5ca54558292
children 9c570aed2246
files decoupage/templates/index.html
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/decoupage/templates/index.html	Thu Nov 25 12:06:40 2010 -0800
+++ b/decoupage/templates/index.html	Mon Nov 29 17:53:20 2010 -0800
@@ -5,10 +5,7 @@
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <head>
-    <title>${title or path}</title>
-    <link py:if="icon" rel="icon" href="${icon}"/>
-    <link py:for="sheet in css or ()" rel="stylesheet" type="text/css" href="${sheet}"/>
-    <script py:for="script in scripts or ()" src="${script}"></script>
+    <xi:include href="head.html"/>
   </head>
   <body>
     <xi:include py:if="include" href="${include}"/>