zeus.ugent.be/layouts/partials/_tile.erb
2017-02-16 15:32:42 +01:00

23 lines
587 B
Text

<a href="<%= @article.path %>" class="tile is-child box backgroundimg <%= @htmlclass %>"
style="background-image:url('<%= @article[:banner] %>') ;">
<div class="content" >
<div class="columns">
<div class="column">
<h2>
<%= @article[:title] %>
</h2>
</div>
<div class="column is-narrow">
<small>
<%= @small_text %>
</small>
</div>
</div>
<div class="description">
<%= @article[:description] %>
</div>
<div class="teaser">
<%= get_teaser(@article) %>
</div>
</div>
</a>