Fix crash with nil passes

This commit is contained in:
Keith Smiley 2013-01-02 14:42:18 -05:00
parent cb276a40c4
commit 5442c90e48

View File

@ -126,7 +126,7 @@ module OctopressLiquidFilters
# Returns a title cased string based on John Gruber's title case http://daringfireball.net/2008/08/title_case_update
def titlecase(input)
input.titlecase
input.titlecase unless input.nil?
end
end