class Agave::Utils::MetaTags::OgType

Public Instance Methods

build() click to toggle source
# File lib/agave/utils/meta_tags/og_type.rb, line 8
def build
  if !item || item.singleton?
    og_tag('og:type', 'website')
  else
    og_tag('og:type', 'article')
  end
end