view examples/tutorial/geddit/templates/index.html @ 627:2f4dc32a13e7

GenshiTutorial: minor tweaks to sync with Wiki page.
author cmlenz
date Fri, 31 Aug 2007 23:13:27 +0000
parents dba522b4c31d
children 693a7212b348
line wrap: on
line source
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xmlns:py="http://genshi.edgewall.org/">
  <xi:include href="layout.html" />
  <head>
    <title>News</title>
  </head>
  <body>
    <h1>News</h1>

    <ol py:if="links">
      <li py:for="link in links">
        <a href="${link.url}">${link.title}</a>
        posted by ${link.username} at ${link.time.strftime('%x %X')}
      </li>
    </ol>

    <p><a class="action" href="/submit/">Submit new link</a></p>
  </body>
</html>
Copyright (C) 2012-2017 Edgewall Software