Distinguish coming/past events (separate headlines)
This commit is contained in:
parent
ff16ff78a0
commit
d72f5934df
3 changed files with 47 additions and 14 deletions
|
|
@ -1,9 +1,9 @@
|
|||
<header class="event">
|
||||
<% if heading %>
|
||||
<% if link %>
|
||||
<h1 itemprop="name"><a itemProp="url" href="<%= item.path() %>"><%= item[:title] %></a></h1>
|
||||
<<%= heading %> itemprop="name"><a itemProp="url" href="<%= item.path() %>"><%= item[:title] %></a></<%= heading %>>
|
||||
<% else %>
|
||||
<h1 itemprop="name"><%= item[:title] %></h1>
|
||||
<<%= heading %> itemprop="name"><%= item[:title] %></<%= heading %>>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<ul class="iconlist">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue