Mercurial > hg > decoupage
view 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 |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" 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" rel="stylesheet" type="text/css" href="${sheet}"/> <script py:for="script in scripts" src="${script}"></script> </head> <body> <xi:include py:if="include" href="${include}"/> <h1 py:if="title">${title}</h1> <ul id="listing"> <li py:for="f in files"> <a href="${f['path']}"> ${f.get('title', f['description']) or f['name']}</a><span py:if="'title' in f and f['description']">: ${f['description']} </span> <py:if test="'links' in f"> <span py:for="link in f['links']" class="link"> <a href="${link['link']}">${link['text']}</a> </span> </py:if> </li> </ul> </body> </html>