renamed 'mid.html' => 'middleware.html'