2017-02-08 11:25:06 +01:00
|
|
|
<a href="<%= @article.path %>" class="tile is-child box backgroundimg <%= @htmlclass %>"
|
2017-02-08 00:51:46 +01:00
|
|
|
style="background-image:url('<%= @article[:banner] %>');">
|
2017-02-07 23:30:11 +01:00
|
|
|
<div class="content" >
|
2016-10-03 16:56:56 +02:00
|
|
|
<div class="columns">
|
|
|
|
<div class="column">
|
|
|
|
<h2>
|
|
|
|
<%= @article[:title] %>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div class="column is-narrow">
|
|
|
|
<small>
|
|
|
|
<%= @small_text %>
|
|
|
|
</small>
|
2016-08-23 20:21:02 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-07 23:30:11 +01:00
|
|
|
<div class="description">
|
2017-02-08 00:51:46 +01:00
|
|
|
<%= @article[:description] %>
|
2017-02-07 23:30:11 +01:00
|
|
|
</div>
|
|
|
|
<div class="teaser">
|
2017-02-08 16:31:17 +01:00
|
|
|
<%= get_teaser(@article) %>
|
2017-02-07 23:30:11 +01:00
|
|
|
</div>
|
2016-07-18 16:31:45 +02:00
|
|
|
</div>
|
|
|
|
</a>
|