Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A quick rss feed template for Statamic.
<title><![CDATA[{{ folder }}]]></title>
<link>{{ _site_url }}/{{ folder }}</link>
<description>{{ _site_name }} {{ folder }}</description>
<dc:creator>{{ contact_email }}</dc:creator>
<dc:rights>Copyright {{ current_date format='Y' }}</dc:rights>
<dc:date>{{ current_date format="Y-m-d\TH:i:s\Z" }}</dc:date>
<admin:generatorAgent rdf:resource="" />
{{ entries:listing folder="blog" limit="10" }}
<title><![CDATA[{{ title }}]]></title>
<link>{{ _site_url }}{{ url }}</link>
<guid>{{ _site_url }}{{ url }}</guid>
<description><![CDATA[{{ intro|markdown }}]]></description>
<dc:date>{{ date format="Y-m-d\TH:i:s\Z" }}</dc:date>
{{ /entries:listing }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.