2009-10-18 20:07:36 -04:00
|
|
|
---
|
|
|
|
layout: nil
|
2009-10-18 21:42:54 -04:00
|
|
|
address: http://yoursite.com
|
|
|
|
email: author@domain.com
|
|
|
|
name: Your Name
|
|
|
|
blog_title: My Blog
|
2009-10-18 20:07:36 -04:00
|
|
|
---
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
%feed(xmlns="http://www.w3.org/2005/Atom")
|
2009-10-18 21:42:54 -04:00
|
|
|
%title= "#{page.name} - #{page.blog_title}"
|
|
|
|
%link(href="#{page.address}/atom.xml" rel="self")
|
|
|
|
%link(href="#{page.address}")
|
2009-10-18 20:07:36 -04:00
|
|
|
%updated= Time.now.xmlschema
|
2009-10-18 21:42:54 -04:00
|
|
|
%id=page.address
|
2009-10-18 20:07:36 -04:00
|
|
|
%author
|
2009-10-18 21:42:54 -04:00
|
|
|
%name= page.name
|
|
|
|
%email= page.email
|
2009-10-18 20:07:36 -04:00
|
|
|
- site.posts[0..14].each do |post|
|
|
|
|
%entry
|
|
|
|
%title= rp(post.title)
|
|
|
|
%link(href="#{full_url(post.url)}")
|
|
|
|
%updated=post.date.xmlschema
|
|
|
|
%id= full_url(post.id)
|
|
|
|
%content(type="html")
|
|
|
|
= h(absolute_url(rp(post.content)))
|