Sha256: cce485469209cb5f5002b8e64d31dfbe430ff29cb69f891bbf4ab9573b0fb8ca

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

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

.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.2 app/views/rails_blog_engine/posts/index.html.haml
rails_blog_engine-0.0.1 app/views/rails_blog_engine/posts/index.html.haml