samhuri.net/templates/feed.xml
2019-12-10 21:52:10 -08:00

23 lines
804 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://samhuri.net/css/normalize.css" type="text/css"?>
<?xml-stylesheet href="https://samhuri.net/css/style.css" type="text/css"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title }}</title>
<description>{{ site.description }}</description>
<link>{{ site.url }}</link>
<pubDate>{{ posts[0].date }}</pubDate>
<atom:link href="{{ feedURL }}" rel="self" type="application/rss+xml" />
{% for post in posts %}
<item>
<title>{{ post.title }}</title>
<description>{{ post.body }}</description>
<pubDate>{{ post.date }}</pubDate>
<author>{{ post.author }}</author>
<link>{{ post.link }}</link>
<guid>{{ post.guid }}</guid>
</item>
{% endfor %}
</channel>
</rss>