class Dato::Utils::MetaTags::OgType
Public Instance Methods
build()
click to toggle source
# File lib/dato/utils/meta_tags/og_type.rb, line 9 def build if !item || item.singleton? og_tag("og:type", "website") else og_tag("og:type", "article") end end