diff options
author | Bradley Taunt <bt@btxx.org> | 2024-05-30 09:02:38 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-05-30 09:02:38 -0400 |
commit | 8f28fc58d5fe68775fbe552eb172cbb4ad8614b1 (patch) | |
tree | 65c5ef1ba611db1aa9fe80d65d2fffca950238e9 /atom.xml | |
parent | fa6aded86998639a53aecfa7b76e0ecd800fd9f0 (diff) |
Further customization and porting of older content
Diffstat (limited to 'atom.xml')
-rw-r--r-- | atom.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/atom.xml b/atom.xml new file mode 100644 index 0000000..b50e1c7 --- /dev/null +++ b/atom.xml @@ -0,0 +1,22 @@ +--- +layout: none +--- +<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + <title>{{ site.title | xml_escape }}</title> + <link href="{{ site.url | append: site.baseurl | append: '/atom.xml' }}"/> + <updated>{{ site.time | date_to_xmlschema }}</updated> + <id>{{ site.url | append: site.baseurl | append: '/atom.xml' }}</id> + <author> + <name>{{ site.author.name }}</name> + </author> + {% for post in site.posts limit:10 %} + <entry> + <title>{{ post.title | xml_escape }}</title> + <link href="{{ post.url | prepend: site.baseurl | prepend: site.url }}"/> + <id>{{ post.id }}</id> + <updated>{{ post.date | date_to_xmlschema }}</updated> + <summary>{{ post.content | xml_escape }}</summary> + </entry> + {% endfor %} +</feed> |