aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
blob: 50dcc1a60729a8ebad2e8761553a69215cf368c0 (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
<!DOCTYPE html>
<html lang="ru">

<head>
    <!-- Meta tags -->
    {% include 'includes/meta.html' %}

    <!-- 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>