-
Notifications
You must be signed in to change notification settings - Fork 26
/
feed.xml
30 lines (28 loc) · 1.05 KB
/
feed.xml
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
---
# generated (atom) feed.xml (from _data/feed.yml)
#
# note: hack for now - try to (auto-)remove title for now - looks better in rubyland.news
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Best of Cancel Culture - Case Studies of Code of Conduct Out-Of-Control Power Abuse and Permanently Banning</title>
<link href="{{ '/feed.xml' | absolute_url }}" rel="self" />
<link href="{{ '/' | absolute_url }}" />
<id>{{ '/' | absolute_url | xml_escape }}</id>
<updated>{{ site.time | date_to_xmlschema }}</updated>
{% for item in site.data.feed limit: 10 %}
{%- capture url -%}
{{ item.path | absolute_url }}
{%- endcapture -%}
{%- capture body -%}
{% include_relative {{item.path}}.md %}
{%- endcapture -%}
<entry>
<title>{{ item.title | xml_escape }}</title>
<link href="{{ url }}" />
<id>{{ url | xml_escape }}</id>
<updated>{{ item.date | date_to_xmlschema }}</updated>
<content type="html">{{ body | remove_first: "#" | remove_first: item.title | markdownify }}</content>
</entry>
{% endfor %}
</feed>