Sha256: 7de2b8dfa16ba3535dfc55a5580e0f38593f7ba657911352f0758f3f8be26774

Contents?: true

Size: 639 Bytes

Versions: 6

Compression:

Stored size: 639 Bytes

Contents

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

  - 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

6 entries across 6 versions & 1 rubygems

Version Path
ack_rocket_cms-0.7.2.4 app/views/shared/_obj.html.haml
ack_rocket_cms-0.7.2.3.2 app/views/shared/_obj.html.haml
ack_rocket_cms-0.7.2.3.1 app/views/shared/_obj.html.haml
ack_rocket_cms-0.7.2.3 app/views/shared/_obj.html.haml
ack_rocket_cms-0.7.2.2 app/views/shared/_obj.html.haml
ack_rocket_cms-0.7.2.1 app/views/shared/_obj.html.haml