Event archive page

This commit is contained in:
Stefan Schlott 2013-08-25 15:02:20 +02:00
parent 9e8d6344a1
commit 5ad6fafb7a
4 changed files with 12 additions and 4 deletions

View file

@ -1,5 +1,11 @@
<header>
<% if heading %><h1 itemprop="name"><%= item[:title] %></h1><% end %>
<% if heading %>
<% if link %>
<h1 itemprop="name"><a itemProp="url" href="<%= item.path() %>"><%= item[:title] %></a></h1>
<% else %>
<h1 itemprop="name"><%= item[:title] %></h1>
<% end %>
<% end %>
<strong>Termin:</strong>
<span itemprop="startDate" content="<%= @item[:startdate].strftime("%Y-%m-%d") %>T19:30"><%= @item[:startdate].strftime("%d.%m.%Y") %>, 19:30 Uhr</span>
<br />