lib/octopress/page.rb in octopress-3.0.0.rc.13 vs lib/octopress/page.rb in octopress-3.0.0.rc.14
- old
+ new
@@ -113,10 +113,10 @@
# Render Liquid vars in YAML front-matter.
def parse_template(input)
if @config['titlecase']
- @options['title'] = Octopress::Filters.titlecase(@options['title'])
+ @options['title'].titlecase!
end
# If possible only parse the YAML front matter.
# If YAML front-matter dashes aren't present parse the whole
# template and add dashes.
#