aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
blob: a9edbdec6a0dbca60d832301e858c6bd4d0df135 (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
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="ru">

<head>
    <!-- Meta tags -->
    <meta content="IE=edge" http-equiv="X-UA-Compatible" />
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <meta content="text/html; charset=utf-8" http-equiv="content-type" />

    <!-- RSS -->
    {% block rss %}
    <link href="{{ get_url(path='atom.xml', trailing_slash=false) | trim }}" rel="alternate" title="RSS" type="application/atom+xml" />
    {% endblock %}

    <!-- CSS -->
    {% set css = load_data(path='styles.css', format='plain') %}
    <style>{{ css | safe }}</style>

    <!-- Title -->
    {% include 'includes/title.html' %}

    <!-- Canonical URL -->
    {% include 'includes/canonical.html' %}
</head>

<body>
    <header>
        {% include 'includes/navbar.html' %}
    </header>

    <article>
        {% block content %}{% endblock %}
    </article>

    {% include 'includes/counter.html' %}
</body>

</html>