Sha256: c27b36651c57ec60077fc53f2fd6a540637572fd08f55f567185bb8c1a69bac3

Contents?: true

Size: 715 Bytes

Versions: 16

Compression:

Stored size: 715 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
    - if !obj.nil?
      .admin_button
        = render 'shared/admin_link', obj: obj
    - if !@seo_page.nil? && (@seo_page.id != obj.id || @seo_page.class.name != obj.class.name)
      .admin_button
        = 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

16 entries across 16 versions & 1 rubygems

Version Path
enjoy_cms-0.4.1 app/views/shared/_obj.html.slim
enjoy_cms-0.4.0.5 app/views/shared/_obj.html.slim
enjoy_cms-0.4.0.4 app/views/shared/_obj.html.slim
enjoy_cms-0.4.0.3 app/views/shared/_obj.html.slim
enjoy_cms-0.4.0.2 app/views/shared/_obj.html.slim
enjoy_cms-0.4.0.1 app/views/shared/_obj.html.slim
enjoy_cms-0.4.0 app/views/shared/_obj.html.slim
enjoy_cms-0.4.0.beta3 app/views/shared/_obj.html.slim
enjoy_cms-0.3.7.4 app/views/shared/_obj.html.slim
enjoy_cms-0.3.7.3 app/views/shared/_obj.html.slim
enjoy_cms-0.3.7.2 app/views/shared/_obj.html.slim
enjoy_cms-0.3.7.1 app/views/shared/_obj.html.slim
enjoy_cms-0.3.7 app/views/shared/_obj.html.slim
enjoy_cms-0.3.6.2 app/views/shared/_obj.html.slim
enjoy_cms-0.3.6.1 app/views/shared/_obj.html.slim
enjoy_cms-0.3.6 app/views/shared/_obj.html.slim