diff decoupage/templates/head.html @ 47:0cfb84d788d6

* make head.html actually be correct; * bump version, cuz this breaks backwards compatability
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 27 Oct 2010 09:42:58 -0700
parents 127843e097b3
children 8596a1d97740
line wrap: on
line diff
--- a/decoupage/templates/head.html	Wed Oct 27 09:33:45 2010 -0700
+++ b/decoupage/templates/head.html	Wed Oct 27 09:42:58 2010 -0700
@@ -3,5 +3,8 @@
       xmlns:xi="http://www.w3.org/2001/XInclude"
       py:strip="True">
   <!-- generic head template to be <xi:include>-d -->
+  <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>
 </head>