forked from Hexlet/hexletguides.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.xml
More file actions
48 lines (48 loc) · 1.87 KB
/
feed.xml
File metadata and controls
48 lines (48 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:yandex="http://news.yandex.ru"
xmlns:media="http://search.yahoo.com/mrss/"
xmlns:turbo="http://turbo.yandex.ru"
version="2.0">
<channel>
<title>{{ site.title | xml_escape }}</title>
<link>{{ '' | absolute_url }}</link>
<description>{{ site.description | xml_escape }}</description>
<language>ru</language>
<!-- <turbo:analytics></turbo:analytics> -->
<!-- <turbo:adNetwork></turbo:adNetwork> -->
{% assign published_posts = site.posts | where: 'hidden', empty %}
{% for post in published_posts %}
<item turbo="true">
<turbo:extendedHtml>true</turbo:extendedHtml>
<link>{{ post.url | absolute_url }}</link>
<!-- <turbo:source></turbo:source> -->
<!-- <turbo:topic>{{ post.title }}</turbo:topic> -->
<title>{{ post.title }}</title>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<author>{{ post.author }}</author>
<!-- <yandex:related></yandex:related> -->
<turbo:content>
<![CDATA[
<div data-block="breadcrumblist">
<a href="{{ '' | absolute_url }}">{{ site.title }}</a>
<a href="{{ post.url | absolute_url }}">{{ post.title }}</a>
</div>
<button
formaction="{{ post.url | absolute_url }}"
data-background-color="#eee"
data-color="dark"
data-turbo="false"
data-primary="false"
>
Читать полную версию на сайте
</button>
{{ post.content }}
]]>
</turbo:content>
</item>
{% endfor %}
</channel>
</rss>