bibliogram/src/site/pug/home.pug

79 lines
2.9 KiB
Plaintext
Raw Normal View History

2020-02-05 10:11:00 +00:00
//- Needs rssEnabled, allUnblocked, torAvailable, hasPrivacyPolicy
2020-02-01 08:17:10 +00:00
2020-01-28 10:37:19 +00:00
doctype html
html
head
title Bibliogram
2020-02-05 06:05:18 +00:00
include includes/head
2020-01-28 10:37:19 +00:00
body.homepage
header
h1.banner
2020-02-18 00:39:20 +00:00
img.banner-image(src="/static/img/banner-min.svg" alt="Bibliogram")
2020-05-09 15:20:13 +00:00
2020-01-28 10:37:19 +00:00
.go-sections-container
.go-sections
section
h2.title Go to profile
form(method="get" action="/u").pair-entry
2020-05-19 13:23:38 +00:00
input(type="text" name="u" placeholder="Username or URL").text
2020-01-28 10:37:19 +00:00
input(type="submit" value="Go").button
section
h2.title Go to post
form(method="get" action="/p").pair-entry
input(type="text" name="p" placeholder="Shortcode or URL").text
input(type="submit" value="Go").button
2020-05-09 15:20:13 +00:00
2020-01-28 10:37:19 +00:00
.about-container
section.about
h2 About Bibliogram
p.
2020-01-28 11:37:08 +00:00
Bibliogram is a website that takes data from Instagram's public profile views and puts it into
a friendlier page that loads faster, gives downloadable images, eliminates ads,
2020-05-29 10:44:58 +00:00
generates RSS feeds, and doesn't urge you to sign up. #[a(href=(constants.featured_profiles.length ? "#featured-profiles" : "/u/instagram")).example-link See an example.]
2020-01-28 10:37:19 +00:00
p.
Bibliogram does #[em not] allow you to anonymously post, like, comment, follow, or view private profiles.
It does not preserve deleted posts.
2020-05-09 15:20:13 +00:00
2020-02-01 08:17:10 +00:00
h2 About this instance
ul
2020-05-29 08:46:45 +00:00
li: a(href=settingsReferrer) Settings
2020-02-05 10:11:00 +00:00
if hasPrivacyPolicy
li: a(href="/privacy") Privacy policy
else
li Owner has not written a privacy policy
2020-05-19 15:54:22 +00:00
if allUnblocked
li Instance is not blocked
else
li: a(href="https://github.com/cloudrac3r/bibliogram/wiki/Rate-limits#working-around") Instance is partially blocked
2020-02-01 08:17:10 +00:00
li RSS feeds are #{rssEnabled ? "enabled" : "disabled"}
2020-05-09 15:20:13 +00:00
2020-02-01 08:17:10 +00:00
h2 External links
2020-05-09 15:20:13 +00:00
ul
2020-01-28 10:37:19 +00:00
-
const links = [
2020-05-30 11:07:32 +00:00
["https://github.com/cloudrac3r/bibliogram", "GitHub repository", "noopener"],
2020-05-21 10:44:28 +00:00
["https://matrix.to/#/#bibliogram:matrix.org", "Discussion room on Matrix"],
2020-05-30 11:07:32 +00:00
["https://github.com/cloudrac3r/bibliogram/wiki/Instances", "Other Bibliogram instances", "noopener"],
2020-05-09 15:20:13 +00:00
["https://github.com/cloudrac3r/bibliogram/projects/1?fullscreen=true", "Project roadmap"],
2020-01-28 10:37:19 +00:00
["https://cadence.moe/about/contact", "Contact the developer"]
]
each entry in links
2020-05-30 11:07:32 +00:00
li: a(href!=entry[0] target="_blank" rel=(entry[2] || "noopener noreferrer"))= entry[1]
2020-05-29 10:44:58 +00:00
if constants.featured_profiles.length
.featured-profiles#featured-profiles
h2.featured-profiles-header Featured profiles
table.featured-profile-table
tbody
each profile in constants.featured_profiles
tr
td.username: a(href=`/u/${profile.username}`) @#{profile.username}
td= profile.description
details
summary What's this?
.details-content
p The owner of this website personally thinks that these profiles are interesting.
p These are not endorsements from the Bibliogram project.