Sha256: e008052be963cdcdc44e431164696cc3a65ce0fdc6ca2da372a8fe63e2c0e8f0

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

= content_for :head do
  %title= @page.page_title.present? ? @page.page_title : @page.title

- if @page.bricks.map(&:type).include? "Kuhsaft::PlaceholderBrick"
  - unless @page.blank?
    .page-content
      - @page.bricks.localized.each do |brick|
        = render brick

- else
  - cache [@page, I18n.locale] do
    - unless @page.blank?
      .page-content
        - @page.bricks.localized.each do |brick|
          = render brick

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kuhsaft-1.8.4 app/views/kuhsaft/pages/show.html.haml