Sha256: 27bf10e72e07c3d6321512dfe680c8263d6de7424f6a9406c24a442b44e8b05b

Contents?: true

Size: 484 Bytes

Versions: 2

Compression:

Stored size: 484 Bytes

Contents

- content_for :title do
  = t('rails_blog_engine.blog.title')

- content_for :head do
  - if params[:page]
    -# Don't index pages after the first, but still follow links.
    - content_for :head do
      %meta(name="robots" content="noindex, follow")

= blog_page do
  .rails_blog_engine_posts
    - if can?(:create, RailsBlogEngine::Post)
      = link_to("New Post", new_post_path,
                :class => "new_post btn large primary")

    = render @posts
    = paginate @posts

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_blog_engine-0.0.4 app/views/rails_blog_engine/posts/index.html.haml
rails_blog_engine-0.0.3 app/views/rails_blog_engine/posts/index.html.haml