Sha256: 724e66028951dcbf8ba40e08b781f6d4e33ce800d38dcce3bc57895c07920ec2

Contents?: true

Size: 655 Bytes

Versions: 3

Compression:

Stored size: 655 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, "relatedhash-#{(@page.children + @page.bricks).map(&:cache_key).join.hash}"] 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

3 entries across 3 versions & 1 rubygems

Version Path
kuhsaft-2.6.3 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.6.2 app/views/kuhsaft/pages/show.html.haml
kuhsaft-2.6.1 app/views/kuhsaft/pages/show.html.haml