module Phaseout::SEOHelper
Public Instance Methods
meta_description(content)
click to toggle source
# File lib/phaseout/seo_helper.rb, line 7 def meta_description(content) tag 'meta', name: 'description', content: content end
meta_keywords(content)
click to toggle source
# File lib/phaseout/seo_helper.rb, line 11 def meta_keywords(content) tag 'meta', name: 'keywords', content: content end
og_description(content)
click to toggle source
# File lib/phaseout/seo_helper.rb, line 27 def og_description(content) tag 'meta', property: 'og:description', content: content end
og_image(content)
click to toggle source
# File lib/phaseout/seo_helper.rb, line 23 def og_image(content) tag 'meta', property: 'og:image', content: content end
og_title(content)
click to toggle source
# File lib/phaseout/seo_helper.rb, line 19 def og_title(content) tag 'meta', property: 'og:title', content: content end
og_url(content)
click to toggle source
# File lib/phaseout/seo_helper.rb, line 15 def og_url(content) tag 'meta', property: 'og:url', content: content end
page_title(content)
click to toggle source
# File lib/phaseout/seo_helper.rb, line 3 def page_title(content) content_tag 'title', content end