view taginthemiddle/templates/navigation.html @ 11:fc55d95be553

it is list.index, not list.find, silly!
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 05 May 2010 22:37:42 -0700
parents 1c5cbbde4299
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/"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      py:strip="True">

  <!-- nav bar -->
  <div class="site-nav">
    <ul>
      <li py:for="link, name in links">
        <a href="${link}">${name}</a>
      </li>
    </ul>
  </div>
    
</html>