summaryrefslogtreecommitdiff
path: root/templates/post.html
blob: f61a2bd6e28c08ad920ac0e598aff0248e5c2f4f (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
39
40
41
42
43
44
45
<!DOCTYPE html>

<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="title" content="{{ title }}">
    <meta name="author" content="{{ author }}">

    <title>{{ title }} | blog.ilvokhin.com</title>
    <link rel="stylesheet" type="text/css" href="/style.css" />
</head>

<body class="post">
<header>
<a class="title" href="/">
    <h1>blog.ilvokhin.com</h1>
</a>
</header>

<main>
<h1>{{ title }}</h1>
<p>
    <i>
    <time datetime="{{ date.strftime('%Y-%m-%d') }}" pubdate>
        {{ date.strftime('%Y-%m-%d') }}
    </time>
    {% if date != updated %}
    (updated <time datetime="{{ updated.strftime('%Y-%m-%d') }}">{{ updated.strftime('%Y-%m-%d') }}</time>)
    {% endif %}
    </i>
{% if status == "draft" %}
• {{ status }}
{% endif %}
</p>

<content>
    {{ content|safe }}
</content>

</main>
</body>

</html>