summaryrefslogtreecommitdiff
path: root/templates/feed.html
blob: e17d3d0f847afaac10003b4032858bc0fbd40a28 (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
46
47
48
49
<!DOCTYPE html>

<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="title" content="blog.ilvokhin.com">
    <meta name="author" content="Dmitry Ilvokhin">

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

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

<main>
<content>

{% if posts %}
    <ul class="posts">
    {% for post in posts %}
        <li>
            <span>
            <i>
            <time datetime="{{ post.metadata.date.strftime('%Y-%m-%d') }}" pubdate>
            {{ post.metadata.date.strftime('%Y-%m-%d') }}
            </time>
            </i>
            </span>
            <a href="{{ post.name }}">{{ post.metadata.title }}</a>
        </li>
    {% endfor %}
    </ul>
{% endif %}

</content>
</main>
<footer>
    <small><p><a class="rss" href="/atom.xml">Atom / RSS</a></p><small>
</footer>
</body>

</html>