Sha256: c9e2e400b1e788513ba343959b9f21d7908d32699d21f40547250c62916df3e3

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

- if lookup_context.exists?(current_page.identifier, 'pages', false) 

  - content_for :seo do
    = render "cardboard/pages/seo"

  = render template: "pages/#{current_page.identifier}"
  
- elsif Rails.env.development? 
  = render "cardboard/pages/error", missing_file: current_page.identifier

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cardboard_cms-0.1.8 app/views/cardboard/pages/show.html.slim
cardboard_cms-0.1.6 app/views/cardboard/pages/show.html.slim
cardboard_cms-0.1.4 app/views/cardboard/pages/show.html.slim