Sha256: b2352766d130f4794f4f20ab301f4e087411fdea5a461ebc166e0d3e8ee68fbc

Contents?: true

Size: 332 Bytes

Versions: 9

Compression:

Stored size: 332 Bytes

Contents

.rs-news-index
  h1= t('rs.news')
  - @news.each do |news|
    .rs-news-date= l(news.time.to_date)
    a.rs-news-title href=news_path(news)
      = news.name
    - if !RocketCMS.config.news_image_styles.nil? && news.image?
      .rs-news-image= image_tag news.image.url(:thumb)
    .rs-news-excerpt= news.excerpt
  = paginate @news

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rocket_cms-0.30.0 app/views/news/index.slim
rocket_cms-0.29.0 app/views/news/index.slim
rocket_cms-0.28.0 app/views/news/index.slim
rocket_cms-0.27.8 app/views/news/index.slim
rocket_cms-0.27.7 app/views/news/index.slim
rocket_cms-0.27.6 app/views/news/index.slim
rocket_cms-0.27.5 app/views/news/index.slim
rocket_cms-0.27.4 app/views/news/index.slim
rocket_cms-0.27.3 app/views/news/index.slim