Comma-separated list of speakers
This commit is contained in:
parent
37cfd0faa6
commit
21257425e0
3 changed files with 35 additions and 2 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
kind: event
|
kind: event
|
||||||
startdate: 2003-02-14 19:30
|
startdate: 2003-02-14T19:30:00
|
||||||
duration: 2h
|
duration: 2h
|
||||||
title: "Über die besonderen Anforderungen beim Sammeln von historischen Großrechnern"
|
title: "Über die besonderen Anforderungen beim Sammeln von historischen Großrechnern"
|
||||||
speakers:
|
speakers:
|
||||||
-
|
-
|
||||||
name: Wolfgang Stief
|
name: Wolfgang Stief
|
||||||
affiliaton: GUUG München
|
affiliation: GUUG München
|
||||||
location:
|
location:
|
||||||
location: bib
|
location: bib
|
||||||
details: Max-Bense-Forum (UG)
|
details: Max-Bense-Forum (UG)
|
||||||
|
|
|
||||||
|
|
@ -113,4 +113,17 @@ ul.horizontal {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.commaseparated {
|
||||||
|
display: inline;
|
||||||
|
list-style: none;
|
||||||
|
li {
|
||||||
|
isplay: inline;
|
||||||
|
}
|
||||||
|
li:after {
|
||||||
|
content: ", ";
|
||||||
|
}
|
||||||
|
li:last-child:after {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,26 @@
|
||||||
<article itemscope itemtype="http://schema.org/EducationEvent">
|
<article itemscope itemtype="http://schema.org/EducationEvent">
|
||||||
<header>
|
<header>
|
||||||
<h1 itemprop="name"><%= item[:title] %></h1>
|
<h1 itemprop="name"><%= item[:title] %></h1>
|
||||||
|
<p>
|
||||||
|
<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>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<strong>Referent:</strong>
|
||||||
|
<ul class="commaseparated">
|
||||||
|
<% @item[:speakers].each do |speaker| %>
|
||||||
|
<li itemprop="performer" itemscope itemtype="http://schema.org/Person">
|
||||||
|
<span itemprop="name"><%= speaker[:name] %></span><% if speaker[:affiliation]%> (<%= speaker[:affiliation] %>)<% end %>
|
||||||
|
</li>
|
||||||
|
<% end %>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<strong>Ort:</strong>
|
||||||
|
<span itemprop="location" itemscope itemtype="http://schema.org/Location">
|
||||||
|
<span itemprop="name">Stadtbibliothek am Mailänder Platz</span>, Max-Bense-Forum (UG)
|
||||||
|
</span>
|
||||||
|
</p>
|
||||||
</header>
|
</header>
|
||||||
<section itemprop="description">
|
<section itemprop="description">
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue