Skip to content
Snippets Groups Projects
Commit 3dc11466 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix #380

parent f2220fac
No related branches found
No related tags found
No related merge requests found
......@@ -8,12 +8,12 @@
<h3 class="card-title h5"><%= element %></h3>
</div>
<div class="card-body">
<% if @block.template.show_image && element.page.featured_image.attached? %>
<% if @block.template.show_image && element.featured_image.attached? %>
<%= kamifusen_tag element.featured_image,
class: 'img-fluid mb-3' %>
<% end %>
<% if @block.template.show_description %>
<p><%= element.page.description_short %></p>
<p><%= element.description_short %></p>
<% end %>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment