blob: 6d22642672c1b219dc958b098d9fc138fd1690e6 (
plain) (
blame)
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
|
## -*- coding: utf-8 -*-
<%inherit file="base.tmpl"/>
<%namespace name="ui" file="ui_helper.tmpl"/>
<%block name="content">
${ui.breadcrumbs(crumbs)}
%if folders or files:
<ul>
% for name in folders:
<li><a href="${name|h}">📂 ${name|h}</a>
% endfor
% for name in files:
<li><a href="${name|h}.html">📄 ${name|h}</a>
% endfor
</ul>
%endif
% if code:
<h1>${title}
% if source_link:
<small><a href="${source_link}">(${messages("Source")})</a></small>
% endif
</h1>
${code}
% endif
</%block>
<%block name="sourcelink">
% if source_link and show_sourcelink:
${ui.show_sourcelink(source_link)}
% endif
</%block>
|