lib/octopress/page.rb in octopress-3.0.0.rc.10 vs lib/octopress/page.rb in octopress-3.0.0.rc.11
- old
+ new
@@ -104,10 +104,10 @@
end
# Render Liquid vars in YAML front-matter.
def parse_template(input)
- @options['title'].titlecase! if @config['titlecase']
+ Octopress::Utils.titlecase!(@options['title']) if @config['titlecase']
# If possible only parse the YAML front matter.
# If YAML front-matter dashes aren't present parse the whole
# template and add dashes.
#
parsed = if input =~ /\A-{3}\s+(.+?)\s+-{3}\s+(.+)/m