]> git.sur5r.net Git - i3/i3/commitdiff
blog: add feed, s/utf8/utf-8 in charset
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 17 Oct 2010 17:14:55 +0000 (19:14 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 17 Oct 2010 17:14:55 +0000 (19:14 +0200)
blog/_layouts/default.html
blog/atom.xml [new file with mode: 0644]

index 0215b427b4edd2d8b997836e71cee613ff6bc6c7..a975c160e2a18adc2f745d603b2be03789465106 100644 (file)
@@ -1,8 +1,9 @@
 <!DOCTYPE html>
 <html>
 <head>
-<meta charset="utf8">
+<meta charset="utf-8">
 <link rel="icon" type="image/png" href="/favicon.png">
+<link rel="alternate" type="application/atom+xml" title="Atom feed of i3.zekjur.net/blog" href="/blog/atom.xml">
 <meta name="description" content="i3 is a dynamic tiling window manager with clean, readable and documented code, featuring extended XRandR support, usage of libxcb instead of xlib and several improvements over wmii">
 <meta name="keywords" content="i3, window, manager, tiling, keyboard, wmii, x11, xcb, xinerama, utf8">
 <meta name="author" content="i3 developers">
diff --git a/blog/atom.xml b/blog/atom.xml
new file mode 100644 (file)
index 0000000..9a93e8f
--- /dev/null
@@ -0,0 +1,24 @@
+---
+layout: nil
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+ <title>i3.zekjur.net/blog/</title>
+ <link href="http://i3.zekjur.net/blog/atom.xml" rel="self"/>
+ <link href="http://i3.zekjur.net/blog" />
+ <author>
+   <name>i3 developers</name>
+ </author>
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
+ <id>http://i3.zekjur.net/blog/</id>
+
+ {% for post in site.posts %}
+ <entry>
+   <title>{{ post.title | xml_escape }}</title>
+   <link href="{{ site.url }}{{ post.url }}"/>
+   <updated>{{ post.date | date_to_xmlschema }}</updated>
+   <id>http://i3.zekjur.net/{{ post.id }}</id>
+   <content type="html">{{ post.content | xml_escape }}</content>
+ </entry>
+ {% endfor %}
+</feed>