Sha256: c014d913d74e4401cac449722795e3fa257dca7af63faac103208d98fc3f94e9

Contents?: true

Size: 608 Bytes

Versions: 19

Compression:

Stored size: 608 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 }
  - if @page.google_verification_key.present? && @page == homepage
    %meta{ name: 'google-site-verification', content: @page.google_verification_key }

- 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

19 entries across 19 versions & 2 rubygems

Version Path
qbrick-2.7.1 app/views/qbrick/pages/show.html.haml
qbrick-2.7 app/views/qbrick/pages/show.html.haml
qbrick-2.6.10 app/views/qbrick/pages/show.html.haml
qbrick-2.6.9 app/views/qbrick/pages/show.html.haml
qbrick-2.6.8 app/views/qbrick/pages/show.html.haml
qbrick-2.6.7 app/views/qbrick/pages/show.html.haml
qbrick-2.6.6 app/views/qbrick/pages/show.html.haml
qbrick-2.6.5 app/views/qbrick/pages/show.html.haml
qbrick-2.6.4 app/views/qbrick/pages/show.html.haml
qbrick-2.6.3 app/views/qbrick/pages/show.html.haml
qbrick-2.6.2 app/views/qbrick/pages/show.html.haml
qbrick-2.6.1 app/views/qbrick/pages/show.html.haml
qbrick-2.6.0 app/views/qbrick/pages/show.html.haml
qbrick-2.5.2 app/views/qbrick/pages/show.html.haml
qbrick-2.5.1 app/views/qbrick/pages/show.html.haml
qbrick-2.5.0 app/views/qbrick/pages/show.html.haml
kuhsaft-2.5.2 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.6.0 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.5.1 app/views/kuhsaft/pages/show.html.haml