Module: SiteHelper

Defined in:
lib/templates/site/helpers/site_helper.rb

Instance Method Summary collapse

Instance Method Details

#keywordsObject



15
16
# File 'lib/templates/site/helpers/site_helper.rb', line 15

def keywords    
end

#page_id(txt = nil) ⇒ Object



3
4
5
6
7
# File 'lib/templates/site/helpers/site_helper.rb', line 3

def page_id(txt = nil)
  content_for(:__pageid, txt) if txt
  return content_for(:__pageid) unless txt
  ""
end

#page_title(txt = nil) ⇒ Object



9
10
11
12
13
# File 'lib/templates/site/helpers/site_helper.rb', line 9

def page_title(txt = nil)
  content_for(:__title, txt) if txt
  return content_for(:__title) unless txt
  ""
end