Sha256: 24ef12727aa54cec77482b37ce127b2ca77ccd603e6f6765b8fa1bcbd4fc9599
Contents?: true
Size: 721 Bytes
Versions: 2
Compression:
Stored size: 721 Bytes
Contents
- unless obj.nil? .text_content - if (!defined?(h1) || h1) && !obj.h1.blank? %h1= obj.h1 - if !obj.respond_to?(:content) || obj.content.blank? - unless @seo_page.nil? = raw @seo_page.page_content - if (@seo_page.id == obj.id && @seo_page.class.name == obj.class.name) = render 'shared/admin_link', obj: @seo_page - else = raw obj.content = 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rocket_cms-0.20.1 | app/views/shared/_obj.html.haml |
rocket_cms-0.20.0 | app/views/shared/_obj.html.haml |