2021-12-15 08:24:49 +00:00
|
|
|
/-
|
|
|
|
Copyright (c) 2021 Henrik Böving. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
Authors: Henrik Böving
|
|
|
|
-/
|
2022-05-19 18:36:35 +00:00
|
|
|
import DocGen4.Output.ToHtmlFormat
|
2021-12-15 08:24:49 +00:00
|
|
|
import DocGen4.Output.Template
|
|
|
|
|
|
|
|
namespace DocGen4
|
|
|
|
namespace Output
|
|
|
|
|
|
|
|
open scoped DocGen4.Jsx
|
|
|
|
|
2022-05-19 19:49:50 +00:00
|
|
|
/--
|
|
|
|
Render the 404 page.
|
|
|
|
-/
|
2022-07-20 23:40:04 +00:00
|
|
|
def notFound : BaseHtmlM Html := do templateExtends (baseHtml "404") $ pure $
|
2021-12-15 08:24:49 +00:00
|
|
|
<main>
|
|
|
|
<h1>404 Not Found</h1>
|
|
|
|
<p> Unfortunately, the page you were looking for is no longer here. </p>
|
|
|
|
<div id="howabout"></div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
end Output
|
|
|
|
end DocGen4
|