website
git clone https://git.pyrossh.dev/website
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
src/feed.njk
---
permalink: /rss.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title }}</title>
<link>{{ site.url }}</link>
<description>{{ site.description }}</description>
<atom:link href="{{ site.url }}/rss.xml" rel="self" type="application/rss+xml"/>
{% for post in collections.posts | reverse %}
<item>
<title>{{ post.data.title }}</title>
<link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
<pubDate>{{ post.data.pubDate | dateToRfc822 }}</pubDate>
<description>{{ post.data.description }}</description>
</item>
{% endfor %}
</channel>
</rss>