diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/blog.atom.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/blog.atom.xml b/templates/blog.atom.xml new file mode 100644 index 0000000..c506670 --- /dev/null +++ b/templates/blog.atom.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + <id>https://the-tk.com/blog.html</id> + <title>the-tk.com - Blog</title> + <updated>{{ page.posts[0].date|datefmt }}T00:00:00Z</updated> + <author> + <name>Tomasz Kramkowski</name> + <email>tk@the-tk.com</email> + <uri>https://the-tk.com/</uri> + </author> + <link rel="self" href="https://the-tk.com/blog.atom.xml" /> + <link rel="alternate" href="https://the-tk.com/blog.html" /> + {% for post in page.posts %}<entry> + <title>{{ post.title }}</title> + <link rel="alternate" href="{{ site.baseurl }}/{{ post.location }}" /> + <id>{{ site.baseurl }}/{{ post.location }}</id> + <updated>{{ post.date|datefmt }}T00:00:00Z</updated> + <summary>{{ post.pre }}</summary> + </entry> + {% endfor %} +</feed> |