1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-15 02:45:09 +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
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)}]