| <% set navigation = [ |
| ('index.html', 'index', 'Index'), |
| ('faq.html', 'faq', 'FAQ'), |
| ('documentation/index.html', 'documentation', 'Documentation'), |
| ('download.html', 'download', 'Download'), |
| ('contribute.html', 'contribute', 'Contribute') |
| ] %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Frameset//EN" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <title><%= title or 'Untitled' %> | Jinja Template Engine</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <link rel="stylesheet" href="<%= root %>static/style.css" type="text/css" /> |
| <link rel="stylesheet" href="<%= root %>static/print.css" type="text/css" media="print" /> |
| <link rel="stylesheet" href="<%= root %>static/pygments.css" type="text/css" /> |
| </head> |
| <body> |
| <div id="header"> |
| <h1><span>Jinja</span></h1> |
| </div> |
| <ul id="navigation"> |
| <% for href, id, caption in navigation %> |
| <li<% if id == active_page %> class="active"<% endif |
| %>><a href="<%= (root + href)|escape %>"><%= caption|escape %></a></li> |
| <% endfor %> |
| </ul> |
| <div id="content"> |
| <div id="contentwrapper"> |
| <% block content %><% endblock %> |
| </div> |
| </div> |
| <div id="footer"> |
| © Copyright 2007 by the <a href="http://www.pocoo.org/">Pocoo</a> Team. |
| </div> |
| </body> |
| </html> |