-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatom.xml
More file actions
32 lines (29 loc) · 1.05 KB
/
atom.xml
File metadata and controls
32 lines (29 loc) · 1.05 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
---
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>JFDI</title>
<subtitle>Anna Shipman's blog</subtitle>
<link href="https://www.annashipman.co.uk/atom.xml" rel="self"/>
<link href="https://www.annashipman.co.uk/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>https://www.annashipman.co.uk/</id>
<author>
<name>Anna Shipman</name>
</author>
{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="https://www.annashipman.co.uk{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>https://www.annashipman.co.uk{{ post.url }}</id>
{% assign content = post.content %}
{% capture href %}href="{{ site.url }}/{% endcapture %}
{% capture src %}src="{{ site.url }}/{% endcapture %}
{% capture converted_content %}
{{ content | replace: 'href="/', href | replace: 'src="/', src }}
{% endcapture %}
<content type="html">{{ converted_content | xml_escape }}</content>
</entry>
{% endfor %}
</feed>