class Jekyll::PostReader

def publishable?(doc)

def publishable?(doc)
  site.publisher.publish?(doc).tap do |will_publish|
    if !will_publish && site.publisher.hidden_in_the_future?(doc)
      Jekyll.logger.warn "Skipping:", "#{doc.relative_path} has a future date"
    end
  end
end