the home site for me: also iteration 3 or 4 of my site
at main 30 lines 1.5 kB view raw
1<?xml version="1.0" encoding="UTF-8"?> 2<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ lang }}"> 3 <title>{{ config.title }}{% if section.title %} – {{ section.title }}{% endif %}</title> 4 <link rel="self" type="application/atom+xml" href="{{ feed_url | safe }}"/> 5 <link rel="alternate" type="text/html" href="{% if section %}{{ section.permalink | safe }}{% else %}{{ config.base_url | safe }}{% endif %}"/> 6 <id>{% if section %}{{ section.permalink | safe }}{% else %}{{ config.base_url | safe }}{% endif %}</id> 7 <updated>{{ last_updated | date(format="%+") }}</updated> 8 <subtitle>{{ config.description }}</subtitle> 9 {% if config.extra.author %} 10 <author><name>{{ config.extra.author }}</name></author> 11 {% endif %} 12 {% for page in pages %} 13 <entry> 14 <title>{{ page.title }}</title> 15 <link rel="alternate" type="text/html" href="{{ page.permalink | safe }}"/> 16 <id>{{ page.permalink | safe }}</id> 17 <published>{{ page.date | date(format="%+") }}</published> 18 <updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated> 19 {% if page.taxonomies.tags %} 20 {% for tag in page.taxonomies.tags %} 21 <category term="{{ tag }}"/> 22 {% endfor %} 23 {% endif %} 24 {% if page.summary %} 25 <summary type="html"><![CDATA[{{ page.summary | safe }}]]></summary> 26 {% endif %} 27 <content type="html"><![CDATA[{{ page.content | safe }}]]></content> 28 </entry> 29 {% endfor %} 30</feed>