mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-12-16 11:08:49 +00:00
Blocked by Instagram.
This commit is contained in:
19
src/site/pug/blocked.pug
Normal file
19
src/site/pug/blocked.pug
Normal file
@@ -0,0 +1,19 @@
|
||||
//- Needs expiresMinutes, instancesURL
|
||||
|
||||
include includes/error.pug
|
||||
|
||||
- const numberFormat = new Intl.NumberFormat().format
|
||||
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
meta(charset="utf-8")
|
||||
meta(name="viewport" content="width=device-width, initial-scale=1")
|
||||
title= `Blocked | Bibliogram`
|
||||
link(rel="stylesheet" type="text/css" href="/static/css/main.css")
|
||||
body.error-page
|
||||
+error(503, "Blocked by Instagram")
|
||||
| Instagram is refusing to provide data to this server. Try again later to see if the block has been lifted.
|
||||
| This error has been cached. The internal cache will expire in #{expiresMinutes} minutes.
|
||||
|
|
||||
a(href="https://github.com/cloudrac3r/bibliogram/wiki/Instances") You could try browsing Bibliogram on another instance.
|
||||
@@ -1,7 +1,6 @@
|
||||
//- Needs title, message, statusCode
|
||||
//- Needs title, message, statusCode ?explanation
|
||||
|
||||
include includes/timeline_page.pug
|
||||
include includes/next_page_button.pug
|
||||
include includes/error.pug
|
||||
|
||||
- const numberFormat = new Intl.NumberFormat().format
|
||||
|
||||
@@ -13,8 +12,6 @@ html
|
||||
title= `${title} | Bibliogram`
|
||||
link(rel="stylesheet" type="text/css" href="/static/css/main.css")
|
||||
body.error-page
|
||||
h1.code= statusCode
|
||||
p.message= message
|
||||
if explanation
|
||||
p.explanation= explanation
|
||||
a(href="javascript:history.back()").back ← Go back?
|
||||
+error(statusCode, message)
|
||||
if explanation
|
||||
=explanation
|
||||
|
||||
7
src/site/pug/includes/error.pug
Normal file
7
src/site/pug/includes/error.pug
Normal file
@@ -0,0 +1,7 @@
|
||||
mixin error(statusCode, message)
|
||||
h1.code= statusCode
|
||||
p.message= message
|
||||
if block
|
||||
p.explanation
|
||||
block
|
||||
a(href="javascript:history.back()").back ← Go back?
|
||||
Reference in New Issue
Block a user