1<!DOCTYPE html>
2<html lang="{{ conf.lang }}" dir="{{ lang.direction }}">
3<head>
4    <meta charset="utf-8"/>
5    <title>{{ TPL.tpl_pagetitle() }} [{{ conf.title|striptags }}]</title>
6
7    {{ TPL.tpl_metaheaders|raw }}
8
9    <meta name="viewport" content="width=device-width,initial-scale=1"/>
10
11    {{ TPL.tpl_favicon(['favicon', 'mobile'])|raw }}
12</head>
13
14<body>
15<div id="dokuwiki__top" class="{{ TPL.tpl_classes() }}">
16
17    <header>
18        {% set logo = TPL.tpl_getMediaFile([':wiki:logo.png', ':logo.png', ':wiki:dokuwiki-128.png']) %}
19        <a href="{{ TPL.wl() }}"><img src="{{ logo }}"/></a>
20
21
22        <h1>{{ conf.title|raw }}</h1>
23        {% if conf.tagline %}<h2>{{ conf.tagline }}</h2>{% endif %}
24
25        {{ TPL.menu('mobile').getDropdown(lang.tools)|raw }}
26        {{ TPL.tpl_searchform()|raw }}
27    </header>
28
29    <aside>
30        <ul>
31            {{ TPL.menu('user').getListItems('action ')|raw }}
32            {{ TPL.menu('site').getListItems('action ')|raw }}
33            {% if TPL.view == 'detail' %}
34                {{ TPL.menu('detail').getListItems('action ')|raw }}
35            {% else %}
36                {{ TPL.menu('page').getListItems('action ')|raw }}
37            {% endif %}
38
39        </ul>
40    </aside>
41
42    {% if TPL.page_findnearest(conf.sidebar) and ACT == 'show' %}
43        <nav>
44            {{ TPL.tpl_include_page(conf.sidebar, true, true)|raw }}
45        </nav>
46    {% endif %}
47
48    <main>
49        {{ TPL.html_msgarea()|raw }}
50
51        <article>
52            {% block content %}
53            {% endblock %}
54        </article>
55
56        {{ TPL.tpl_pageinfo()|raw }}
57    </main>
58
59    <footer>
60        {{ TPL.tpl_license('')|raw }}
61    </footer>
62</div>
63
64<div class="no">{{ TPL.tpl_indexerWebBug()|raw }}</div>
65</body>
66