- content_for(:title, "Notícias") = partial "partials/page_header", locals: { title: "Notícias", subtitle: "" } s article.container.content-page#news - content.each do |item_news| hr section.row.col-xs-12.item_news[id="#{item_news.slug}"] .col-xs-12.col-sm-6[style="margin-bottom: 48px;"] header h2.title = item_news.title p - item_news.date b Publicado em:  time = item_news.date p = truncate(strip_tags(item_news.content), length: 500, separator: ' ') p.has-item-news-link = link_to('Continuar lendo', "/noticias/#{item_news.slug}", class: 'btn btn-default item-news-link') .col-xs-12.col-sm-6 = image_tag item_news.cover_image, class: 'img-responsive', style: "margin: 0 auto;" = image_tag "shadow.png", class: 'img-responsive'