2009-10-19 00:07:36 +00:00
|
|
|
---
|
|
|
|
layout: nil
|
2009-10-20 13:50:16 +00:00
|
|
|
author: Your Name
|
2009-10-19 01:42:54 +00:00
|
|
|
email: author@domain.com
|
2009-10-20 13:50:16 +00:00
|
|
|
blog_title: My Octopress Blog
|
2009-11-08 05:02:55 +00:00
|
|
|
full_url: http://yoursite.com
|
2009-10-19 00:07:36 +00:00
|
|
|
---
|
2009-10-20 13:50:16 +00:00
|
|
|
!!! XML
|
2009-10-19 00:07:36 +00:00
|
|
|
%feed(xmlns="http://www.w3.org/2005/Atom")
|
2009-10-20 13:50:16 +00:00
|
|
|
%title= page.blog_title
|
2009-11-08 05:02:55 +00:00
|
|
|
%link(href="#{page.full_url}/atom.xml" rel="self")
|
|
|
|
%link(href="#{page.full_url}")
|
2009-10-19 00:07:36 +00:00
|
|
|
%updated= Time.now.xmlschema
|
2009-11-08 05:02:55 +00:00
|
|
|
%id=page.full_url
|
2009-10-19 00:07:36 +00:00
|
|
|
%author
|
2009-10-20 13:50:16 +00:00
|
|
|
%name= page.author
|
2009-10-19 01:42:54 +00:00
|
|
|
%email= page.email
|
2009-10-19 00:07:36 +00:00
|
|
|
- site.posts[0..14].each do |post|
|
|
|
|
%entry
|
|
|
|
%title= rp(post.title)
|
2009-11-08 05:02:55 +00:00
|
|
|
%link(href="#{page.full_url}#{post.url}")
|
2009-10-19 00:07:36 +00:00
|
|
|
%updated=post.date.xmlschema
|
2009-11-08 05:02:55 +00:00
|
|
|
%id= "#{page.full_url}#{post.id}"
|
2009-10-19 00:07:36 +00:00
|
|
|
%content(type="html")
|
2009-11-08 05:02:55 +00:00
|
|
|
= h(absolute_url(rp(post.content), page.full_url))
|