Use .empty? instead of == ''
This commit is contained in:
parent
a73b17d08c
commit
ccedcd0eb9
|
@ -319,7 +319,7 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
def should_generate_excerpt?
|
def should_generate_excerpt?
|
||||||
!(site.config['excerpt_separator'].to_s == "")
|
!(site.config['excerpt_separator'].to_s.empty?)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue