summaryrefslogtreecommitdiff
path: root/templates/atom.xml
blob: ba7fbda250a3cb4e4a9b265b2c3e21d17417aee1 (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
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>blog.ilvokhin.com</title>
    <id>tag:blog.ilvokhin.com,2022:blog.ilvokhin.com</id>
    <link rel="alternate" href="https://blog.ilvokhin.com"></link>
    <link rel="self" href="https://blog.ilvokhin.com/atom.xml"></link>
    <updated>{{ updated.isoformat() }}</updated>
    <author>
        <name>Dmitry Ilvokhin</name>
        <uri>https://ilvokhin.com/</uri>
        <email>d@ilvokhin.com</email>
    </author>
{% if posts %}
    {% for post in posts %}
    <entry>
        <title>{{ post.metadata.title }}</title>
        <id>tag:blog.ilvokhin.com,2022:blog.ilvokhin.com/{{ post.name }}</id>
        <link rel="alternate" href="https://blog.ilvokhin.com/{{ post.name }}"></link>
        <published>{{ post.metadata.date.isoformat() }}</published>
        <updated>{{ post.metadata.updated.isoformat() }}</updated>
        <content type="html">{{ post.content }}</content>
    </entry>
    {% endfor %}
{% endif %}
</feed>