Module: Phaseout::SEOHelper

Defined in:
lib/phaseout/seo_helper.rb

Instance Method Summary collapse

Instance Method Details

#meta_description(content) ⇒ Object



7
8
9
# File 'lib/phaseout/seo_helper.rb', line 7

def meta_description(content)
  tag 'meta', name: 'description', content: content
end

#meta_keywords(content) ⇒ Object



11
12
13
# File 'lib/phaseout/seo_helper.rb', line 11

def meta_keywords(content)
  tag 'meta', name: 'keywords', content: content
end

#og_description(content) ⇒ Object



27
28
29
# File 'lib/phaseout/seo_helper.rb', line 27

def og_description(content)
  tag 'meta', property: 'og:description', content: content
end

#og_image(content) ⇒ Object



23
24
25
# File 'lib/phaseout/seo_helper.rb', line 23

def og_image(content)
  tag 'meta', property: 'og:image', content: content
end

#og_title(content) ⇒ Object



19
20
21
# File 'lib/phaseout/seo_helper.rb', line 19

def og_title(content)
  tag 'meta', property: 'og:title', content: content
end

#og_url(content) ⇒ Object



15
16
17
# File 'lib/phaseout/seo_helper.rb', line 15

def og_url(content)
  tag 'meta', property: 'og:url', content: content
end

#page_title(content) ⇒ Object



3
4
5
# File 'lib/phaseout/seo_helper.rb', line 3

def page_title(content)
   'title', content
end