mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Use .empty? instead of == ''
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user