30 lines
No EOL
1.2 KiB
XML
30 lines
No EOL
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
|
<title>{{ site_title }}
|
|
{%- if tag %} - #{{ tag.slug }}{% endif -%}
|
|
</title>
|
|
<link href="{{ feed_url | safe }}" rel="self" type="application/atom+xml"/>
|
|
{% if tag -%}
|
|
<link href="{{ base_url | safe }}tags/{{ tag.slug }}/"/>
|
|
{%- else -%}
|
|
<link href="{{ base_url | safe }}"/>
|
|
{%- endif %}
|
|
<generator uri="{{ base_url | safe }}">tlxite</generator>
|
|
<updated>{{ last_updated | date(format="%+") }}</updated>
|
|
<id>{{ feed_url | safe }}</id>
|
|
{%- for post in posts %}
|
|
<entry xml:lang="en">
|
|
<title>{{ post.title }}</title>
|
|
<published>{{ post.date | date(format="%+") }}</published>
|
|
<updated>{{ post.updated | default(value=post.date) | date(format="%+") }}</updated>
|
|
<author>
|
|
<name>tollyx</name>
|
|
</author>
|
|
<link rel="alternate" href="{{ base_url | trim_end_matches(pat='/') | safe }}{{ post.absolute_path | safe }}" type="text/html"/>
|
|
<id>{{ base_url | trim_end_matches(pat='/') | safe }}{{ post.absolute_path | safe }}</id>
|
|
<content type="html">
|
|
{{ post.content }}
|
|
</content>
|
|
</entry>
|
|
{%- endfor %}
|
|
</feed> |