Ensure Post#excerpt_separator always returns a string.

This commit is contained in:
Parker Moore 2015-01-17 14:59:44 -08:00
parent a0f2b5f944
commit 18f3d76603
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ module Jekyll
# #
# Returns the post excerpt_separator # Returns the post excerpt_separator
def excerpt_separator def excerpt_separator
data.fetch('excerpt_separator') { site.config['excerpt_separator'].to_s } (data['excerpt_separator'] || site.config['excerpt_separator']).to_s
end end
# Turns the post slug into a suitable title # Turns the post slug into a suitable title