Skip to content
Myr

layout.html

This file

Path

tests/templates/layout.html

23 lines · 621 bytes · HTML

Last changed by

[svn] checked in today's jinja changes. implemented template loading and inheritanceArmin Ronacherbefore adoption9997f96

History of this file

Take it

[svn] checked in today's jinja changes. implemented template loading and inheritanceArmin Ronacherbefore adoption9997f96

lines 1–23why, one step back
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Frameset//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">3<html>4 <head>5 <title>{% block page_title %}Untitled{% endblock %} | My Webpage</title>6 {% block page_head %}{% endblock %}7 </head>8 <body>9 <div id="header">10 <h1>My Webpage</h1>11 <ul id="navigation">12 {% for item in navigation_items %}13 <li><a href="{{ item.url|escape }}">{{ item.caption|escape }}</a></li>14 {% endfor %}15 </ul>16 </div>17 <div id="body">18 {% block body %}19 content goes here.20 {% endblock %}21 </div>22 </body>23</html>