diff decoupage/templates/index.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 ac1dc088e37e
children a8a74f6bcf93
line wrap: on
line diff
--- a/decoupage/templates/index.html	Fri Aug 03 23:48:25 2012 -0700
+++ b/decoupage/templates/index.html	Sat Aug 04 15:55:52 2012 -0700
@@ -10,7 +10,7 @@
   </head>
   <body>
     <xi:include py:if="include" href="${include}"/>
-    <h1 py:if="title">${title}</h1>
+    <h1 py:if="title"><a py:if="link" href="${link}">${title}</a><py:if test="not link">${title}</py:if></h1>
     <ul id="listing">
       <li py:for="f in files">
         <a name="${f['path']}"></a>