File: layout.html

package info (click to toggle)
jinja 1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,412 kB
  • ctags: 1,171
  • sloc: python: 6,438; ansic: 397; makefile: 74
file content (23 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Frameset//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
  <head>
    <title>{% block page_title %}Untitled{% endblock %} | My Webpage</title>
    {% block page_head %}{% endblock %}
  </head>
  <body>
    <div id="header">
      <h1>My Webpage</h1>
      <ul id="navigation">
      {% for item in navigation_items %}
        <li><a href="{{ item.url|escape }}">{{ item.caption|escape }}</a></li>
      {% endfor %}
      </ul>
    </div>
    <div id="body">
      {% block body %}
        content goes here.
      {% endblock %}
    </div>
  </body>
</html>