#cardPublicacoes - if content = link_to exhibit_path(content) do .card{:class => content.css_class} .container .row.no-gutters - if content.respond_to?(:image) && content.image.present? .card-body.col-sm-5.col-md-5.no-gutters.p-0 = image_tag content.image_url,:alt=>content.title,:title=>content.title,:class=>"card-img-top.img-fluid.mx-auto.mx-md-0",:height=>"279",:width=>"228",:style => "display: block;" .card-body.col-sm-7.col-md-7.pl-0.pl-sm-4.pl-md-4 - if content.respond_to?(:sections) && content.sections.present? .h3.badge.badge-default.mb-4= render "/contents/assets/badget_pilars", sections: content.sections %h2.card-title.mb-0.mb-xl-5{:class => content.css_class}= content.title %p.card-text.pt-0.pt-xl-4.mb-0 %span.card-text-title Autor: #{content.author} - if content.respond_to?(:subject) && content.subject.present? %p.card-text.mb-0 %span.card-text-title Assunto: #{content.subject} %p.card-text.mb-0 %span.card-text-title Páginas: #{content.pages} - if content.respond_to?(:publisher) && content.publisher.present? %p.card-text.mb-0 %span.card-text-title Editora: #{content.publisher} .col-12 .line-bottom{:class => content.css_class}