update TODO & 404 handling
This commit is contained in:
17
examples/canonical/www/404.lua
Normal file
17
examples/canonical/www/404.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
local fes = require("fes")
|
||||
local std = fes.std
|
||||
local u = fes.util
|
||||
|
||||
local site = fes.fes()
|
||||
|
||||
site.title = "404 Page Not Found"
|
||||
site.copyright = u.copyright("https://git.vxserver.dev/fSD/", "fSD")
|
||||
|
||||
site:banner(std.h1(std.center("Canonical")))
|
||||
|
||||
site:note(table.concat({
|
||||
std.center(std.h1("404 Page Not Found")),
|
||||
std.center(std.p("The page you are looking for is not here. " .. std.a("/", "Go home?"))),
|
||||
}))
|
||||
|
||||
return site
|
||||
Reference in New Issue
Block a user