38 lines
No EOL
1.5 KiB
XML
38 lines
No EOL
1.5 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="{{ base_url | safe }}" type="text/html" />
|
|
<link rel="self" href="{{ feed_url | safe }}"/>
|
|
{%- if first_url %}
|
|
<link rel="first" href="{{ first_url | safe }}" />
|
|
{%- endif %}
|
|
{%- if last_url %}
|
|
<link rel="last" href="{{ last_url | safe }}" />
|
|
{%- endif %}
|
|
{%- if next_url %}
|
|
<link rel="next" href="{{ next_url | safe }}" />
|
|
{%- endif %}
|
|
{%- if previous_url %}
|
|
<link rel="previous" href="{{ previous_url | safe }}" />
|
|
{%- endif %}
|
|
<generator uri="{{ base_url | safe }}">tlxsite</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 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> |