/usr/share/doc/python-werkzeug-doc/examples/simplewiki/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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude" py:strip="">
<xi:include href="macros.xml" />
<py:match path="head" once="true">
<head py:attrs="select('@*')">
<title py:with="title = list(select('title/text()'))"><py:if
test="title">${title} — </py:if>SimpleWiki</title>
<link rel="stylesheet" type="text/css" href="${href('_shared', 'style.css')}" />
${select('*[local-name()!="title"]')}
</head>
</py:match>
<py:match path="body" once="true">
<body py:attrs="select('@*')">
<div class="bodywrapper">
<div class="header">
<h1><a href="${href()}">Simple Wiki</a></h1>
</div>
<div class="contents">
<div class="page_meta" py:if="not hide_navigation and page.timestamp">
<a href="${href(page.name, rev=page.revision_id)}">This revision</a>
was created on ${format_datetime(page.timestamp)}.
</div>
<div class="navigation">
<py:if test="not hide_navigation">
<py:for each="id, href, title in (
('show', href(page.name), 'show'),
('edit', href(page.name, action='edit'), 'edit'),
('log', href(page.name, action='log'), 'log')
)">
<a href="${href}" class="${id == page_action and 'active' or
None}">${title}</a> |
</py:for>
</py:if>
<a href="${href()}">main</a> |
<a href="${href('Special:Index')}">index</a> |
<a href="${href('Special:Recent_Changes')}">changes</a>
</div>
${select('*|text()')}
</div>
<div class="footer">
Werkzeug Example Wiki Application
</div>
</div>
</body>
</py:match>
</html>
|