mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-12-16 11:08:49 +00:00
Instance owners can disable RSS
RSS is still enabled by default, but will be disabled on bibliogram.art.
This commit is contained in:
@@ -12,8 +12,7 @@ html
|
||||
title= `Blocked | Bibliogram`
|
||||
link(rel="stylesheet" type="text/css" href="/static/css/main.css")
|
||||
body.error-page
|
||||
+error(503, "Blocked by Instagram")
|
||||
+error(503, "Blocked by Instagram", true)
|
||||
| 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,4 +1,4 @@
|
||||
//- Needs title, message, statusCode ?explanation
|
||||
//- Needs title, message, statusCode, ?explanation, withInstancesLink
|
||||
|
||||
include includes/error.pug
|
||||
|
||||
@@ -12,6 +12,6 @@ html
|
||||
title= `${title} | Bibliogram`
|
||||
link(rel="stylesheet" type="text/css" href="/static/css/main.css")
|
||||
body.error-page
|
||||
+error(statusCode, message)
|
||||
+error(statusCode, message, withInstancesLink)
|
||||
if explanation
|
||||
=explanation
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
mixin error(statusCode, message)
|
||||
mixin error(statusCode, message, withInstancesLink)
|
||||
h1.code= statusCode
|
||||
p.message= message
|
||||
if block
|
||||
if block || withInstancesLink
|
||||
p.explanation
|
||||
block
|
||||
if block
|
||||
block
|
||||
if withInstancesLink
|
||||
a(href="https://github.com/cloudrac3r/bibliogram/wiki/Instances") You could try browsing Bibliogram on another instance.
|
||||
a(href="javascript:history.back()").back ← Go back?
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//- Needs user, url, constants
|
||||
|
||||
include includes/timeline_page.pug
|
||||
include includes/next_page_button.pug
|
||||
|
||||
@@ -30,7 +32,8 @@ html
|
||||
div.profile-counter #[span(data-numberformat=user.following).count #{numberFormat(user.following)}] following
|
||||
div.profile-counter #[span(data-numberformat=user.followedBy).count #{numberFormat(user.followedBy)}] followed by
|
||||
div.links
|
||||
a(rel="alternate" type="application/rss+xml" href=`/u/${user.data.username}/rss.xml`) RSS
|
||||
if constants.settings.rss_enabled
|
||||
a(rel="alternate" type="application/rss+xml" href=`/u/${user.data.username}/rss.xml`) RSS
|
||||
a(rel="noreferrer noopener" href=`https://www.instagram.com/${user.data.username}`) instagram.com
|
||||
|
||||
- const hasPosts = !user.data.is_private && user.timeline.pages.length && user.timeline.pages[0].length
|
||||
|
||||
Reference in New Issue
Block a user