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 class="notos">
18        <div class="container">
19            <div class="toprow">
20                {% set logo = TPL.tpl_getMediaFile([':wiki:logo.svg', ':wiki:logo.png', ':wiki:dokuwiki-128.png']) %}
21                <div class="branding">
22                    <a href="{{ TPL.wl() }}"><img src="{{ logo }}" alt="{{ conf.title|striptags }}"/></a>
23                    <div>
24                        <h1 class="wikititle"><a href="{{ TPL.wl() }}">{{ conf.title|raw }}</a></h1>
25                        {% if conf.tagline %}<span class="tagline">{{ conf.tagline }}</span>{% endif %}
26                    </div>
27                </div>
28
29                <div class="header-controls">
30                    <div class="tools">
31                        <div class="tool-button">
32                            <label class="notos-toggle" for="notos__sitetools">
33                                {{ TPL.inlineSVG(TPL.tpl_incdir() ~ '/ico/hammer-wrench.svg')|raw }}
34                                <span>{{ lang.tools }}</span>
35                            </label>
36                            <input type="checkbox" class="notos-toggle" id="notos__sitetools">
37                            <div>
38                                {% if _SERVER.REMOTE_USER or not conf.tpl.notos.hide_tools %}
39                                <ul>
40                                    {{ TPL.menu('page').getListItems('', false)|raw }}
41                                </ul>
42                                <ul>
43                                    {{ TPL.menu('site').getListItems('', false)|raw }}
44                                </ul>
45                                {% endif %}
46                                <ul>
47                                    {{ TPL.menu('user').getListItems('', false)|raw }}
48                                </ul>
49                            </div>
50                        </div>
51
52                        <div class="tool-login">
53                            {{ SELF.loginButton()|raw }}
54                        </div>
55                    </div>
56
57
58                    {{ TPL.tpl_searchform()|raw }}
59                </div>
60            </div>
61
62            {% if _SERVER.REMOTE_USER %}
63                <div class="bottom-row">
64                    <div class="breadcrumbs">
65                        {% if ACT == 'show' %}
66                            {{ TPL.tpl_breadcrumbs()|raw }}
67                        {% endif %}
68                    </div>
69                    <div class="user">
70                        {{ TPL.userlink()|raw }}
71                    </div>
72                </div>
73            {% endif %}
74        </div>
75    </header>
76
77
78    <nav class="notos container">
79        <input type="checkbox" id="menu__btn">
80        <label class="menu" for="menu__btn">
81            <span class="open">{{ TPL.inlineSVG(TPL.tpl_incdir() ~ '/ico/menu.svg')|raw }}</span>
82            <span class="close">{{ TPL.inlineSVG(TPL.tpl_incdir() ~ '/ico/close.svg')|raw }}</span>
83        </label>
84        {{ SELF.renderNavigation()|raw }}
85    </nav>
86
87    <main class="notos container">
88        {{ TPL.html_msgarea()|raw }}
89
90        <article class="notos">
91            {% block content %}
92            {% endblock %}
93        </article>
94
95        <aside id="dokuwiki__pagetools">
96            {% if _SERVER.REMOTE_USER or not conf.tpl.notos.hide_tools %}
97            <div class="tools">
98                <ul>
99                    {% if TPL.view == 'detail' %}
100                        {{ TPL.menu('detail').getListItems('action ')|raw }}
101                    {% else %}
102                        {{ SELF.menu(TPL.tpl_getconf('pagefloat')).getListItems('action ')|raw }}
103                    {% endif %}
104                </ul>
105            </div>
106            {% endif %}
107        </aside>
108
109    </main>
110
111    <footer class="notos">
112        <div class="container">
113            {{ TPL.tpl_pageinfo()|raw }}
114            {{ TPL.tpl_license('')|raw }}
115        </div>
116    </footer>
117</div>
118
119<div class="no">{{ TPL.tpl_indexerWebBug()|raw }}</div>
120</body>
121