summaryrefslogtreecommitdiff
path: root/templates/feed.html
blob: b8fc4bf5f7c3d1e5fd9bc80fac903a6376c3bc16 (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
50
51
<!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">

    <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 }}" pubdate>
            {{ post.metadata.date }}
            </time>
            </i>
            </span>
            <a href="{{ post.name }}">
                {{ post.metadata.title }}
                {% if post.is_draft() %}
                    (Draft)
                {% endif %}
            </a>
        </li>
    {% endfor %}
    </ul>
{% endif %}

</content>
</main>
</body>

</html>