comparison decoupage/templates/index.html @ 35:20e3d138dc98

better way of doing up; this breaks old behaviour so incrementing version
author k0s <k0scist@gmail.com>
date Mon, 08 Feb 2010 19:21:30 -0500
parents e384d4569ac3
children 0cfb84d788d6
comparison
equal deleted inserted replaced
34:527ccb76d043 35:20e3d138dc98
13 </head> 13 </head>
14 <body> 14 <body>
15 <xi:include py:if="include" href="${include}"/> 15 <xi:include py:if="include" href="${include}"/>
16 <h1 py:if="title">${title}</h1> 16 <h1 py:if="title">${title}</h1>
17 <ul id="listing"> 17 <ul id="listing">
18 <li py:if="request.path_info.strip('/')"><a href="..">..</a></li>
19 <li py:for="f in files"> 18 <li py:for="f in files">
20 <a href="${f['path']}"> 19 <a href="${f['path']}">
21 ${f.get('title', f['description']) or f['name']}</a><span py:if="'title' in f and f['description']">: ${f['description']} 20 ${f.get('title', f['description']) or f['name']}</a><span py:if="'title' in f and f['description']">: ${f['description']}
22 </span> 21 </span>
23 <py:if test="'links' in f"> 22 <py:if test="'links' in f">