- obj ||= nil - if obj - seo_page = @seo_page || @seo_parent_page - content_for :meta do - _cache_helper = (Hancock::Seo.config.cache_support ? :hancock_cache : :cache) - send _cache_helper, [obj, seo_page, 'meta'].uniq.compact do = render 'shared/meta', obj: obj - og_title = (obj.get_og_title.blank? and seo_page ? seo_page.get_og_title : obj.get_og_title) - og_image = (obj.og_image.blank? and seo_page ? seo_page.og_image : obj.og_image) = render 'shared/og', title: og_title, image: og_image - unless obj.title.blank? - content_for :title do = obj.title - else = render 'blocks/seo_block'