summaryrefslogtreecommitdiff
path: root/blog/templates/blog_feed.xml.j2
blob: f6bcb17eb89bb8bb0ca42f27be34a9db6d8c4c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
    <title>@yggdrasil</title>
    <link>{{ site.blog_url }}/{{ site.rss_filename }}</link>
    <description>The chronicle of my works and learnings</description>
    <language>en</language>
    <lastBuildDate>{{ build_date }}</lastBuildDate>
    {% for post in posts %}
    <item>
        <title>{{ post.title() }}</title>
        <link>{{ post.get_link() }}</link>
        <description>{{ post.intro }}</description>
        <guid>{{ post.get_link() }}</guid>
        <author>{{ site.email }}</author>
        <pubDate>{{ post.get_publish_time_rfc2822() }}</pubDate>
    </item>
    {% endfor %}
    </channel>
</rss>