aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/base-jinja/templates/base.tmpl
blob: 00ba9d7ee991b27785cd8d2e9c5e11bd6e4d0f7e (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
{#  -*- coding: utf-8 -*- #}
{% import 'base_helper.tmpl' as base with context %}
{% import 'base_header.tmpl' as header with context %}
{% import 'base_footer.tmpl' as footer with context %}
{% import 'annotation_helper.tmpl' as annotations with context %}
{{ set_locale(lang) }}
{{ base.html_headstart() }}
{% block extra_head %}
{#  Leave this block alone. #}
{% endblock %}
{{ template_hooks['extra_head']() }}
</head>
<body>
<a href="#content" class="sr-only sr-only-focusable">{{ messages("Skip to main content") }}</a>
    <div id="container">
         {{ header.html_header() }}
         <main id="content" role="main">
            {% block content %}{% endblock %}
         </main>
         {{ footer.html_footer() }}
    </div>
    {{ body_end }}
    {{ template_hooks['body_end']() }}
    {{ base.late_load_js() }}
</body>
</html>