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

View file

@ -4,6 +4,11 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= @item[:title] %></title>
<% if @item[:feed] then
item[:feed].each do |f| %>
<link rel="alternate" type="application/atom+xml" title="<%= f[:title]%>" href="<%= f[:url]%>" />
<% end
end %>
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="/styles/main.css" />