   (ANY "*" {session :session}
        (not-found (html-doc (session :account)
                             "Page not found"
-                            (not-found-doc)))))
+                            [:h1 "Page not found"]
+                            [:p "Thundering typhoons!  I think we lost it.  Sorry!"]))))
 
 (defroutes clojars-app
   (context "/repo" _

  (GET "/forgot-password" {params :params}
       (forgot-password-form))
  (friend/logout (ANY "/logout" request
                      ; Work around friend#20 and ring-anti-forgery#10
                      (-> (ring.util.response/redirect "/")
                           (assoc :session (:session request)))))

  (GET "/" {session :session params :params}
       (try-account

            [cemerick.friend.credentials :as creds]
            [cemerick.friend.workflows :as workflows]))

(defroutes main-routes
  (GET "/search" {session :session params :params}
       (try-account
