Eclectic Media Git archived_em.space_site / 18eb8b9
Merge branch 'rss-template' Ariana Giroux 4 months ago
1 changed file(s) with 19 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 <?xml version="1.0" encoding="UTF-8" ?>
1 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
2
3 <channel>
4 <title>{{ title }}</title>
5 <link>{{ link }}</link>
6 <description>{{ description }}</description>
7 <atom:link href="https://eclecticmedia.space/rss/feed.xml" rel="self" type="application/rss+xml" />
8 {%- for item in items %}
9 <item>
10 <title>{{ item['title'] }}</title>
11 <link>{{ item['link'] }}</link>
12 <description>{{ item['description'] }}</description>
13 <guid>{{ item['link'] }}</guid>
14 </item>
15 {%- endfor %}
16 </channel>
17
18 </rss>