aboutsummaryrefslogtreecommitdiff
path: root/source/atom.haml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/atom.haml25
1 files changed, 0 insertions, 25 deletions
diff --git a/source/atom.haml b/source/atom.haml
deleted file mode 100644
index 07ec21f9..00000000
--- a/source/atom.haml
+++ /dev/null
@@ -1,25 +0,0 @@
----
-layout: nil
-author: Your Name
-email: author@domain.com
-blog_title: My Octopress Blog
-full_url: http://yoursite.com
----
-!!! XML
-%feed(xmlns="http://www.w3.org/2005/Atom")
- %title= page.blog_title
- %link(href="#{page.full_url}/atom.xml" rel="self")
- %link(href="#{page.full_url}")
- %updated= Time.now.xmlschema
- %id=page.full_url
- %author
- %name= page.author
- %email= page.email
- - site.posts.reverse[0..14].each do |post|
- %entry
- %title= rp(post.title)
- %link(href="#{page.full_url}#{post.url}")
- %updated=post.date.xmlschema
- %id= "#{page.full_url}#{post.id}"
- %content(type="html")
- = h(absolute_url(rp(post.content), page.full_url)) \ No newline at end of file