summaryrefslogtreecommitdiff
path: root/templates/feed.rss
blob: 90c2dbf08b14cdb5e97b73b285795a95dd44ea26 (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>{{ feed.title}}</title>
	<link rel="alternate" type="text/html" href="{{ feed.link }}"/>
	<link rel="self" type="application/atom+xml" href="{{ feed.link }}feed.rss"/>
	<subtitle>{{ feed.description }}</subtitle>
	<updated>{{ feed.date }}</updated>
	<author>
		<name>Navan Chauhan</name>
	</author>
	<id>{{ feed.link }}</id>
{% for post in posts %}
	<entry>
		<title>{{post.metadata.title}}</title>
		<link type="text/html" href="{{post.metadata.link}}" />
		<id>{{post.metadata.link}}</id>
		<published>{{post.metadata.date}}</published>
		<updated>{{post.metadata.date}}</updated>
		<summary>{{post.metadata.description}}</summary>
		<content type="html">
			<![CDATA[{{post}}]]>
		</content>
		<author>
			<name>Navan Chauhan</name>
			<email>blog@navan.email</email>
		</author>
	</entry>
{% endfor %}
</feed>