view decoupage/templates/head.html @ 70:262fb90a54b4

make template loading lenient and other fixes; bump version
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 04 Aug 2012 15:55:52 -0700
parents 0cfb84d788d6
children 8596a1d97740
line wrap: on
line source

<head xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      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>