view decoupage/templates/index.html @ 14:4ca2530f8be1

stub for putting stylesheets and includes on templates"
author k0s <k0scist@gmail.com>
date Fri, 25 Dec 2009 17:20:06 -0500
parents ab0c2bb4d23d
children d2e519a2f13c
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:for="sheet in stylesheets" rel="stylesheet" type="text/css" href="${sheet}"/>
  </head>
  <body>
    <xi:include py:if="include" href="${include}"/>
    <ul>
      <li py:if="request.path_info.strip('/')"><a href="..">..</a></li>
      <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>
      </li>
    </ul>
   </body>
</html>