Sha256: 99aee5ac432c7d95407a99e355d1afa5ebe9bc0eb3f457699fe49bcb628cbdd4

Contents?: true

Size: 687 Bytes

Versions: 15

Compression:

Stored size: 687 Bytes

Contents

- unless obj.nil?
  .text_content
    - seo = obj.seo
    - if (!defined?(h1) || h1) && seo and !seo.h1.blank?
      h1= seo.h1
    - if obj.content.blank?
      - unless @seo_page.nil?
        = raw @seo_page.page_content
    - else
      = raw obj.content
  .admin_button
    - if !obj.nil?
      = render 'shared/admin_link', obj: obj
    - if !@seo_page.nil? && (@seo_page.id != obj.id || @seo_page.class.name != obj.class.name)
      = render 'shared/admin_link', obj: @seo_page

  - content_for :meta do
    = render 'shared/meta', obj: obj
    = render 'shared/og', title: obj.get_og_title, image: obj.og_image

  - content_for :title do
    - if obj.title
      title= obj.title

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
enjoy_cms-0.3.5 app/views/shared/_obj.html.slim
enjoy_cms-0.3.4 app/views/shared/_obj.html.slim
enjoy_cms-0.3.3 app/views/shared/_obj.html.slim
enjoy_cms-0.3.2.1 app/views/shared/_obj.html.slim
enjoy_cms-0.3.2 app/views/shared/_obj.html.slim
enjoy_cms-0.3.1.2 app/views/shared/_obj.html.slim
enjoy_cms-0.3.1.1 app/views/shared/_obj.html.slim
enjoy_cms-0.3.1 app/views/shared/_obj.html.slim
enjoy_cms-0.3.0.4 app/views/shared/_obj.html.slim
enjoy_cms-0.3.0.3 app/views/shared/_obj.html.slim
enjoy_cms-0.3.0.2 app/views/shared/_obj.html.slim
enjoy_cms-0.2.1 app/views/shared/_obj.html.slim
enjoy_cms-0.2.0.3.2 app/views/shared/_obj.html.slim
enjoy_cms-0.2.0.3.1 app/views/shared/_obj.html.slim
enjoy_cms-0.2.0.3 app/views/shared/_obj.html.slim