Sha256: 38cd24168ab3761f7a6353d27840a352255d6b6c3355f7f8ccb854c7abaccb96

Contents?: true

Size: 475 Bytes

Versions: 10

Compression:

Stored size: 475 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?
      - if RocketCMS.paperclip? && news.image?
        .rs-news-image= image_tag news.image.url(:thumb)
      - elsif RocketCMS.shrine? && !news.image.nil?
        .rs-news-image= image_tag news.image(:thumb).url
    .rs-news-excerpt= news.excerpt
  = paginate @news

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rocket_cms-0.37.1 app/views/news/index.slim
rocket_cms-0.37.0 app/views/news/index.slim
rocket_cms-0.36.0 app/views/news/index.slim
rocket_cms-0.35.0 app/views/news/index.slim
rocket_cms-0.34.0 app/views/news/index.slim
rocket_cms-0.33.1 app/views/news/index.slim
rocket_cms-0.33.0 app/views/news/index.slim
rocket_cms-0.32.0 app/views/news/index.slim
rocket_cms-0.31.1 app/views/news/index.slim
rocket_cms-0.31.0 app/views/news/index.slim