class Jekyll::Page

def generate_excerpt?

def generate_excerpt?
  !excerpt_separator.empty? && instance_of?(Jekyll::Page) && html?
end