web/assets/feed.xml

55 lines
1.9 KiB
XML
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: compress
permalink: /feed.xml
2019-09-30 15:38:41 +03:00
# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html
---
{% capture source %}
<feed xmlns="http://www.w3.org/2005/Atom">
2021-01-18 17:17:03 +03:00
<id>{{ "/" | absolute_url }}</id>
2019-09-30 15:38:41 +03:00
<title>{{ site.title }}</title>
<subtitle>{{ site.description }}</subtitle>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<author>
<name>{{ site.social.name }}</name>
2021-01-18 17:17:03 +03:00
<uri>{{ "/" | absolute_url }}</uri>
2019-09-30 15:38:41 +03:00
</author>
2021-01-18 17:17:03 +03:00
<link rel="self" type="application/atom+xml" href="{{ page.url | absolute_url }}"/>
<link rel="alternate" type="text/html" hreflang="{{ site.alt_lang | default: site.lang }}"
2021-01-18 17:17:03 +03:00
href="{{ '/' | absolute_url }}"/>
2019-09-30 15:38:41 +03:00
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
<rights> © {{ 'now' | date: '%Y' }} {{ site.social.name }} </rights>
2019-09-30 15:38:41 +03:00
<icon>{{ site.baseurl }}/assets/img/favicons/favicon.ico</icon>
<logo>{{ site.baseurl }}/assets/img/favicons/favicon-96x96.png</logo>
{% for post in site.posts limit: 5 %}
2021-01-18 17:17:03 +03:00
{% assign post_absolute_url = post.url | absolute_url %}
2019-09-30 15:38:41 +03:00
<entry>
<title>{{ post.title }}</title>
<link href="{{ post_absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
2019-09-30 15:38:41 +03:00
<published>{{ post.date | date_to_xmlschema }}</published>
{% if post.last_modified_at %}
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated>
2019-09-30 15:38:41 +03:00
{% else %}
<updated>{{ post.date | date_to_xmlschema }}</updated>
2019-09-30 15:38:41 +03:00
{% endif %}
<id>{{ post_absolute_url }}</id>
<content type="text/html" src="{{ post_absolute_url }}" />
2019-09-30 15:38:41 +03:00
<author>
2021-04-17 22:21:55 +03:00
<name>{{ post.author | default: site.social.name }}</name>
2019-09-30 15:38:41 +03:00
</author>
{% if post.categories %}
{% for category in post.categories %}
<category term="{{ category }}" />
{% endfor %}
{% endif %}
<summary>{% include post-description.html max_length=400 %}</summary>
2019-09-30 15:38:41 +03:00
</entry>
{% endfor %}
</feed>
{% endcapture %}
{{ source | replace: '&', '&amp;' }}