zeus.ugent.be/layouts/eventpost.erb

47 lines
1.2 KiB
Text
Raw Normal View History

2016-07-18 11:06:45 +02:00
<% content_for :head do %>
<meta property="og:image" content="<%= item[:banner] %>" />
2016-07-18 11:15:03 +02:00
<meta property="og:title" content="<%= item[:title] %>" />
2016-07-19 13:55:27 +02:00
<meta property="og:type" content="article" />
<meta property="og:url" content="<%= url_for(item) %>" />
2016-07-18 11:06:45 +02:00
<% end %>
2016-08-02 18:31:40 +02:00
<section class="hero is-medium is-info">
2016-07-27 20:27:28 +02:00
<div class="hero-head">
2016-07-18 23:34:38 +02:00
<%= render '/partials/_navbar.*' %>
2016-07-12 23:58:08 +02:00
</div>
2016-07-27 20:27:28 +02:00
<div class="hero-body">
<div class="container">
<h1 class="title">
<%= item[:title] %>
</h1>
<h2 class="subtitle">
<ul class="fa-ul">
<li><i class="fa-li fa fa-clock-o"></i><%= item[:time] %></li>
<li><i class="fa-li fa fa-globe"></i><%= item[:location] %></li>
</ul>
</h2>
</div>
</div>
</section>
<section class="section">
<div class="columns">
2016-07-28 17:56:33 +02:00
<div class="container">
<div id="event-info" class="is-pulled-right">
<div class="box">
<ul class="fa-ul">
<li><i class="fa-li fa fa-clock-o"></i><%= item[:time] %></li>
<li><i class="fa-li fa fa-globe"></i><%= item[:location] %></li>
</ul>
</div>
</div>
<div class="content">
<%= yield %>
</div>
2016-07-12 23:58:08 +02:00
</div>
2016-07-28 17:56:33 +02:00
2016-07-12 23:58:08 +02:00
</div>
2016-07-27 20:27:28 +02:00
</section>