view bitsyblog/templates/navigation.html @ 50:cf77bd13aad9

add support for headers
author k0s <k0scist@gmail.com>
date Sat, 26 Dec 2009 21:41:00 -0500
parents 36698624435b
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">

  <py:if test="header">${header}</py:if>

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