blob: bcb370f6905ba454a873ec243bce59ac00108065 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
layout: nil
author: Your Name
email: author@domain.com
blog_title: My Octopress Blog
root_url: http://yoursite.com
---
!!! XML
%feed(xmlns="http://www.w3.org/2005/Atom")
%title= page.blog_title
%link(href="#{page.root_url}/atom.xml" rel="self")
%link(href="#{page.root_url}")
%updated= Time.now.xmlschema
%id=page.root_url
%author
%name= page.author
%email= page.email
- site.posts[0..14].each do |post|
%entry
%title= rp(post.title)
%link(href="#{page.root_url}#{post.url}")
%updated=post.date.xmlschema
%id= "#{page.root_url}#{post.id}"
%content(type="html")
= h(absolute_url(rp(post.content)))
|