/usr/share/doc/python-werkzeug-doc/examples/i18nurls/templates/layout.html is in python-werkzeug-doc 0.10.4+dfsg1-1ubuntu1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>$title | Example Application</title>
</head>
<body>
<h1>Example Application</h1>
<p>
Request Language: <strong>$req.language</strong>
</p>
$body
<blockquote>
<p>This page in other languages:
<ul>
<% for lng in ['en', 'de', 'fr'] %>
<li><a href="$escape(req.url_for('this', lang_code=lng))">$lng</a></li>
<% endfor %>
</ul>
</blockquote>
</body>
</html>
|