module ActsAsWebPage

Public Instance Methods

meta_fields() click to toggle source
# File lib/buweb/concerns/acts_as_web_page.rb, line 29
def meta_fields
  {
    title: (page_title.presence || try(:title)),
    description: meta_description,
    robots: meta_robots,
    keywords: meta_keywords,
    canonical_url: canonical_url
  }
end