Atom feed

This commit is contained in:
Stefan Schlott 2013-08-24 15:42:27 +02:00
parent 220866997f
commit bb3dd8c4ba
10 changed files with 37 additions and 0 deletions

12
content/atom.xml Normal file
View file

@ -0,0 +1,12 @@
---
type: 'feed'
title: 'CCCS - Chaos Computer Club Stuttgart (Atom Feed)'
---
<%
excerptproc = Proc.new do |article|
article_summary(article)
end
%><%= atom_feed :limit => 10,
:excerpt_proc => excerptproc,
:icon => "#{site.config[:base_url]}/img/atom-icon.png",
:logo => "#{site.config[:base_url]}/img/atom-logo.png" %>

View file

@ -1,6 +1,10 @@
-----
title: CCC Stuttgart - Startseite
kind: empty
feed:
-
url: '/atom.xml'
title: 'CCCS - Neueste Artikel'
-----
<div class="row">
<div class="span12">