mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
26 lines
1.3 KiB
XML
26 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
|
<channel>
|
|
<title>{{ config.title }}</title>
|
|
<link>{{ config.base_url }}</link>
|
|
<description>{{ config.description }}</description>
|
|
<generator>Zola</generator>
|
|
<language>{{ lang }}</language>
|
|
<managingEditor>{{ config.extra.email }} ({{ config.extra.author }})</managingEditor>
|
|
<webMaster>{{ config.extra.email }} ({{ config.extra.author }})</webMaster>
|
|
<atom:link href="{{ feed_url }}" rel="self" type="application/rss+xml"/>
|
|
<lastBuildDate>{{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
|
|
{% for page in pages %}
|
|
<item>
|
|
<title>{{ page.title }}</title>
|
|
<pubDate>{{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
|
|
<atom:published>{{ page.date | date(format="%Y-%m-%dT%H:%M:%S%:z") }}</atom:published>
|
|
{% if page.extra.updated %}<atom:updated>{{ page.extra.updated | date(format="%Y-%m-%dT%H:%M:%S%:z") }}</atom:updated>{% endif %}
|
|
<author>{{ config.extra.email }} ({{ config.extra.author }})</author>
|
|
<link>{{ page.permalink }}</link>
|
|
<guid>{{ page.permalink }}</guid>
|
|
<description>{{ page.content }}</description>
|
|
</item>
|
|
{% endfor %}
|
|
</channel>
|
|
</rss>
|