Class: Octopress::Linkblog::PageHook

Inherits:
Hooks::Page
  • Object
show all
Defined in:
lib/octopress-linkblog.rb

Instance Method Summary collapse

Instance Method Details

#post_init(page) ⇒ Object



26
27
28
29
30
31
# File 'lib/octopress-linkblog.rb', line 26

def post_init(page)
  if page.data['title']
    page.data['title'].titlecase! if Linkblog.config['titlecase']
    page.data['title_html'] = Linkblog.unorphan(page.data['title'])
  end
end