-
Notifications
You must be signed in to change notification settings - Fork 22
/
feed.xml
39 lines (36 loc) · 1.19 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
31
32
33
34
35
36
37
38
39
---
layout: null
---
{%- assign root = "https://asylo.dev" -%}
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Asylo Blog</title>
<description>An open and flexible framework for enclave applications.</description>
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
<link>{{root}}</link>
<image>
<url>{{root}}/favicons/android-192x192.png</url>
<link>{{root}}</link>
</image>
{%- assign sorted = site.blog | sort: "url" -%}
{%- for post in sorted -%}
{%- if post.draft == true -%}
{%- continue -%}
{%- endif -%}
{%- assign path = post.url | split: "/" -%}
{%- assign name = path | last -%}
{%- if name == "index.html" -%}
{%- continue -%}
{% endif %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.overview | xml_escape }}</description>
<pubDate>{{ post.publish_date | date_to_xmlschema }}</pubDate>
<link>{{root}}{{ post.url }}</link>
<author>{{ post.attribution }}</author>
<guid isPermaLink="true">{{root}}{{ post.url }}</guid>
</item>
{%- endfor -%}
</channel>
</rss>