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