diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-03-08 21:42:56 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-03-08 21:42:56 +0100 |
commit | 45459c3a2086aa47f35b90ecc5e658fdc72e7982 (patch) | |
tree | 2f0598c3aea058ebff9029dd8b55f1ec9907c36e /data/templates/atom.xml | |
parent | 64b640f97d00c119ef4ed4c8ccf8e588226bfcad (diff) | |
download | hakyll-45459c3a2086aa47f35b90ecc5e658fdc72e7982.tar.gz |
Added renderAtom, feeds now validate.
Diffstat (limited to 'data/templates/atom.xml')
-rw-r--r-- | data/templates/atom.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/templates/atom.xml b/data/templates/atom.xml new file mode 100644 index 0000000..578f54f --- /dev/null +++ b/data/templates/atom.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + <title>$title</title> + <link href="$absolute/$url" rel="self" /> + <link href="$absolute" /> + <!-- We use the link as id. --> + <id>$absolute/$url</id> + <author> + <name>$authorName</name> + </author> + <updated>$timestamp</updated> + $body +</feed> |