module Middleman::CoreExtensions::Request::InstanceMethods

def not_found(res)

Halt request and return 404
def not_found(res)
  res.status == 404
  res.write "<html><body><h1>File Not Found</h1><p>#{@request_path}</p></body>"
  res.finish
end