diff options
-rw-r--r-- | _config.yml | 2 | ||||
-rw-r--r-- | atom.xml | 26 | ||||
m--------- | theme | 0 |
3 files changed, 27 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml index e5c7f2c8d..479f3901f 100644 --- a/_config.yml +++ b/_config.yml @@ -3,4 +3,4 @@ pygments: true baseurl: / permalink: pretty markdown: kramdown - +url: http://code.alaveteli.org diff --git a/atom.xml b/atom.xml new file mode 100644 index 000000000..05aced830 --- /dev/null +++ b/atom.xml @@ -0,0 +1,26 @@ +--- +layout: nil +--- +<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + + <title>Alaveteli.org</title> + <link href="{{ site.url }}/atom.xml" rel="self"/> + <link href="{{ site.url }}/"/> + <updated>{{ site.time | date_to_xmlschema }}</updated> + <id>{{ site.url }}</id> + <author> + <name>mySociety</name> + </author> + + {% for post in site.posts %} + <entry> + <title>{{ post.title }}</title> + <link href="{{ site.url }}{{ post.url }}"/> + <updated>{{ post.date | date_to_xmlschema }}</updated> + <id>{{ site.url }}{{ post.id }}</id> + <content type="html">{{ post.content | xml_escape }}</content> + </entry> + {% endfor %} + +</feed> diff --git a/theme b/theme -Subproject 2253b0f82ab9f0e670109826c5326f638952b66 +Subproject 6f3cee1f77831ba0c9d5bd5b6a10dc696c3267e |