Sha256: 6a0f4c71629e10c058b5dc20ceec1d7fe9d776996a628cef0b733f9c9a272069
Contents?: true
Size: 1.21 KB
Versions: 7
Compression:
Stored size: 1.21 KB
Contents
.container.text-center{ id: block.anchor } %h2.mb-4.font-weight-bold = block.title %p.grey-text = block.description .row -# FIXME bad guy mode ON - eval("@collection_#{block.anchor}")&.each do |item| .col-lg-4.col-md-12.mb-4 - if item.path.present? = link_to item.path do .card.link .view.overlay.hm-white-slight = image_tag item.image, class: 'img-fluid' = link_to '#' do .mask .card-body %h4.card-title = item.title %p.card-text = strip_tags item.description - if item.button.present? = link_to item.button.text, item.button.url, class: 'btn btn-primary' - else .card .view.overlay.hm-white-slight = image_tag item.image, class: 'img-fluid' = link_to '#' do .mask .card-body %h4.card-title = item.title %p.card-text = item.description - if item.button.present? = link_to item.button.text, item.button.url, class: 'btn btn-primary'
Version data entries
7 entries across 7 versions & 1 rubygems