Sha256: df09e91890d05961af9425844c5ec4e939f88063284a172fcf3bdb7b65e14763

Contents?: true

Size: 455 Bytes

Versions: 13

Compression:

Stored size: 455 Bytes

Contents

= content_for :head do
  %title= @page.page_title.present? ? @page.page_title : @page.title
  %meta{ name: 'keywords', content: @page.keywords }
  %meta{ name: 'description', content: @page.description }

- cache [@page, I18n.locale, @page.children, @page.bricks] do
  - unless @page.blank?
    .page-content
      -# TODO: refactor into scopes or simplify otherwise:
      - @page.bricks.localized.select(&:valid?).each do |brick|
        = render brick

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
kuhsaft-2.5.0 app/views/kuhsaft/pages/show.html.haml
qbrick-2.5.0.pre app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.4.3 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.4.2 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.4.1 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.4.0 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.3.6 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.3.5 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.3.4 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.3.3 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.3.2 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.3.1 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.3.0 app/views/kuhsaft/pages/show.html.haml