File: layout.html

package info (click to toggle)
python-werkzeug 3.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,148 kB
  • sloc: python: 22,030; javascript: 292; makefile: 39; sh: 17; xml: 16
file content (21 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<html>
  <head>
    <title>{{ title }} | Example Application</title>
  </head>
  <body>
    <h1>Example Application</h1>
    <p>
      Request Language: <strong>{{ req.language }}</strong>
    </p>
    {% block body %}{% endblock %}
    <blockquote>
      <p>This page in other languages:
      <ul>
      {% for lng in ['en', 'de', 'fr'] %}
        <li><a href="{{ req.url_for('this', lang_code=lng) }}">{{ lng }}</a></li>
      {% endfor %}
      </ul>
    </blockquote>
  </body>
</html>