Use .empty? instead of == ''

This commit is contained in:
Parker Moore
2013-08-07 17:12:13 +02:00
parent a73b17d08c
commit ccedcd0eb9

View File

@@ -319,7 +319,7 @@ module Jekyll
end
def should_generate_excerpt?
!(site.config['excerpt_separator'].to_s == "")
!(site.config['excerpt_separator'].to_s.empty?)
end
end
end