view martini/templates/index.html @ 16:8ae3a7fd466a

py3
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Feb 2017 14:56:46 -0800
parents 3c3522ce6e3a
children
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/">
<head>
  <title>${request.path_info}</title>
</head>
<body>
  <h1>${request.path_info}</h1>
  <ul>
    <li py:for="item in sorted(items)">
      <a href="${request.path_info.rstrip('/')}/${item}">${item}</a>
    </li>
  </ul>
</body>
</html>