/usr/lib/python3/dist-packages/pyramid_jinja2/demo/helloworld.jinja2 is in python3-pyramid-jinja2 2.7+dfsg-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 23 24 25 26 27 28 29 30 31 32 33 34 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Demo App</title>
<style>
body { font-family: Ubuntu, Verdana, Arial, Helvetica, Sans-Serif; }
legend { font-weight: bold; }
dt { font-weight: bold; }
dd { margin-bottom: 0.4em; }
</style>
</head>
<body>
<fieldset>
<legend>Metadata</legend>
<dl>
<dt>Locale Name</dt>
<dd>{{ locale_name }}</dd>
</dl>
</fieldset>
<fieldset>
<legend>I18N Demo</legend>
<dl>
<dt>No Translation (english)</dt>
<dd>Hello World</dd>
<dt>Translated using Pyramid directly</dt>
<dd>{{pyramid_translated}}</dd>
<dt>Translated using Jinja2</dt>
<dd>{% trans %}Hello World{% endtrans %}</dd>
</dl>
</fildset>
</body>
</html>
|