745982ae83
Former-commit-id: e1b10e0d29020d135b0fe8d146aa479fe3dc9e7d [formerly 77747345cbe2a3efdc458dc2543cec49e242719d] [formerly a69d4ef7201163a9457f7a4b6a01e6b7235c7e3c [formerly bea3af0c4c32097b578aab9312ca73454123a32a]] Former-commit-id: 1cfd0cdcfadf40e46c607cfffbd8d03f6c571deb [formerly 94d49761b14d478ccbd9689150d488a76095558c] Former-commit-id: 35ba57a9761e8c2e1986348f3cf2bfea9f1820e7
33 lines
1.4 KiB
XML
33 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>{%
|
|
set baseurl = "https://c3woc.de/" %}{%
|
|
set search = "blog" %}
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<title type="text">Waffel Neuigkeiten</title>
|
|
<id>42{{ none|datetimeformat('YYYYMMDDhhmmss') }}</id>
|
|
<updated>{{ none|datetimeformat('YYYY-MM-DDThh:mm:ss') }}Z</updated>
|
|
<link href="{{ baseurl }}{{ search }}/" />
|
|
<link href="{{ baseurl }}feed.xml" rel="self" />
|
|
<author>
|
|
<name>{% if this.author %}{{ this.author }}{% else %}L3D{% endif %}</name>
|
|
</author>
|
|
<generator uri="https://gitea.see-base.de/c3woc/c3woc" version="0.2">Lektor Atom XML Template</generator>{%
|
|
set pages = site.query('/blog').include_undiscoverable(true).all() %}{%
|
|
for page in pages %}
|
|
<entry xml:base="{{ baseurl }}{{ search }}/{{ page._id }}/">
|
|
<title type="text">{{ page.title }}</title>
|
|
<id>23{{ page.pub_date|datetimeformat('YYYYMMDDhhmmss') }}</id>
|
|
<updated>{{ page.pub_date|datetimeformat('YYYY-MM-DDThh:mm:ss') }}Z</updated>
|
|
<link href="{{ baseurl }}{{ search }}/{{ page._id }}/" />
|
|
<author>
|
|
<name>{% if page.author %}{{ page.author }}{% else %}L3D{% endif %}</name>
|
|
</author>
|
|
<content type="{% if page.xml_img %}html{% else %}text{% endif %}">
|
|
{{ page.xml }}
|
|
{% if page.xml_img
|
|
%}<br/>
|
|
<img width="23%" src="{{ page|url }}{{ page.xml_img }}" />
|
|
{% endif %}
|
|
</content>
|
|
</entry>{%
|
|
endfor %}
|
|
</feed>
|