the home site for me: also iteration 3 or 4 of my site
at main 43 lines 1.9 kB view raw
1<?xml version="1.0" encoding="UTF-8"?> 2<rss version="2.0" 3 xmlns:atom="http://www.w3.org/2005/Atom" 4 xmlns:content="http://purl.org/rss/1.0/modules/content/" 5 xmlns:dc="http://purl.org/dc/elements/1.1/" 6> 7 <channel> 8 <title>{{ config.title | escape_xml }}{% if section.title %} – {{ section.title | escape_xml }}{% endif %}</title> 9 <link>{% if section %}{{ section.permalink | safe }}{% else %}{{ config.base_url | safe }}{% endif %}</link> 10 <description>{{ config.description | default(value="") | escape_xml }}</description> 11 <language>{{ lang }}</language> 12 <generator>Zola</generator> 13 <atom:link href="{{ feed_url | safe }}" rel="self" type="application/rss+xml"/> 14 <lastBuildDate>{{ last_updated | date(format="%a, %d %b %Y %H:%M:%S +0000") }}</lastBuildDate> 15 {% for page in pages %} 16 <item> 17 <title>{{ page.title | escape_xml }}</title> 18 <link>{{ page.permalink | safe }}</link> 19 <guid isPermaLink="true">{{ page.permalink | safe }}</guid> 20 <pubDate>{{ page.date | date(format="%a, %d %b %Y %H:%M:%S +0000") }}</pubDate> 21 {% if page.updated %} 22 <dc:date>{{ page.updated | date(format="%Y-%m-%dT%H:%M:%SZ") }}</dc:date> 23 {% endif %} 24 {% if config.extra.author %} 25 <dc:creator>{{ config.extra.author | escape_xml }}</dc:creator> 26 {% endif %} 27 {% if page.taxonomies.tags %} 28 {% for tag in page.taxonomies.tags %} 29 <category>{{ tag | escape_xml }}</category> 30 {% endfor %} 31 {% endif %} 32 <description> 33 {% if page.summary %} 34 {{ page.summary | escape_xml }} 35 {% else %} 36 {{ page.content | truncate(length=500) | striptags | escape_xml }} 37 {% endif %} 38 </description> 39 <content:encoded><![CDATA[{{ page.content | safe }}]]></content:encoded> 40 </item> 41 {% endfor %} 42 </channel> 43</rss>