1
0
Fork 0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-03-02 02:41:34 +00:00

404 page allows you to visit that user

Closes #43
This commit is contained in:
Cadence Ember 2020-03-22 17:10:50 +13:00
parent a903647eb1
commit 49ad9ee434
No known key found for this signature in database
GPG key ID: 81015DF9AA8607E1
6 changed files with 32 additions and 25 deletions

View file

@ -1,3 +1,5 @@
//- Needs path, couldBeUsername
include includes/error
doctype html
@ -8,3 +10,5 @@ html
body.error-page
+error(404, "Page not found.")
if couldBeUsername
| Trying to access a user? #[a(href=`/u${path}`) Visit @#{path.slice(1)}]