mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04: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