add footer thing #2

Merged
osmarks merged 2 commits from ubq323/onstat:master into master 2021-01-28 21:15:11 +00:00

View File

@ -99,6 +99,13 @@ proc mainPage(): string =
of rtTimeout: text "Timed out" of rtTimeout: text "Timed out"
of rtFetchError: text "Fetch failed" of rtFetchError: text "Fetch failed"
tdiv: text &"{site.uptimePercent * 100}% up in last week" tdiv: text &"{site.uptimePercent * 100}% up in last week"
hr()
small:
text "made by "
a(href="https://osmarks.net"): text "gollark"
text ", currently hosted by "
a(href="https://ubq323.website"): text "ubq323"
text "."
$vnode $vnode
proc onRequest(req: Request) {.async.} = proc onRequest(req: Request) {.async.} =