Merge pull request 'add footer thing' (#2) from ubq323/onstat:master into master

Reviewed-on: #2
It might be better to make this configurable, but I can probably do that later and I think the only active instance is the official one anyway.
This commit is contained in:
osmarks 2021-01-28 21:15:11 +00:00
commit 2d7dc14936
1 changed files with 7 additions and 0 deletions

View File

@ -99,6 +99,13 @@ proc mainPage(): string =
of rtTimeout: text "Timed out"
of rtFetchError: text "Fetch failed"
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
proc onRequest(req: Request) {.async.} =