Sha256: 5c099e79efaa95802b850c86f44cb19755b6f2ea22309a0810a7bbaec06b118b

Contents?: true

Size: 684 Bytes

Versions: 1

Compression:

Stored size: 684 Bytes

Contents

.section.recent_posts
  .recent_posts_heading = @title

  .section_content
    .recent_post_carousel
      - @posts.each do |post|
        .recent_post_item
          = link_to post_path(id: post.slug), class: 'recent_post_photo'
            span.recent_post_bg
              span.recent_post_info
                strong = post.title

            = image_tag post.cover.try(:url, :post_cover) || 'recent_news.jpg'

          .recent_post_description
            = simple_format post.description
            = link_to I18n.t(:read_more, scope: [:label, :blog]), post_path(id: post.slug)

    = link_to I18n.t(:start_project, scope: [:layout, :button]), new_order_path, class: 'button'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/cells/composite/posts_block.html.slim