mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-12-15 02:45:09 +00:00
Provide error page for age gated profiles
This commit is contained in:
11
src/site/pug/age_gated.pug
Normal file
11
src/site/pug/age_gated.pug
Normal file
@@ -0,0 +1,11 @@
|
||||
include includes/error.pug
|
||||
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
title= `Restricted profile | Bibliogram`
|
||||
include includes/head
|
||||
body.error-page
|
||||
+error(403, "Restricted profile", false)
|
||||
| This profile is age restricted.
|
||||
| You must log in to Instagram to view this profile.
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
include includes/error.pug
|
||||
|
||||
- const numberFormat = new Intl.NumberFormat().format
|
||||
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
|
||||
Reference in New Issue
Block a user