1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-05 16:27:30 +00:00
bibliogram/src/site/pug/home.pug
2020-02-18 13:39:20 +13:00

55 lines
2.1 KiB
Plaintext

//- Needs rssEnabled, allUnblocked, torAvailable, hasPrivacyPolicy
doctype html
html
head
title Bibliogram
include includes/head
body.homepage
header
h1.banner
img.banner-image(src="/static/img/banner-min.svg" alt="Bibliogram")
.go-sections-container
.go-sections
section
h2.title Go to profile
form(method="get" action="/u").pair-entry
input(type="text" name="u" placeholder="Username or URL" autofocus).text
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
.about-container
section.about
h2 About Bibliogram
p.
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,
generates RSS feeds, and doesn't urge you to sign up. #[a(href="/u/instagram").example-link See an example.]
p.
Bibliogram does #[em not] allow you to anonymously post, like, comment, follow, or view private profiles.
It does not preserve deleted posts.
h2 About this instance
ul
if hasPrivacyPolicy
li: a(href="/privacy") Privacy policy
else
li Owner has not written a privacy policy
li Instance is #{allUnblocked ? "not blocked" : "blocked"}
li RSS feeds are #{rssEnabled ? "enabled" : "disabled"}
li Tor is #{torAvailable ? "enabled" : "not available"}
h2 External links
ul.link-list
-
const links = [
["https://github.com/cloudrac3r/bibliogram", "GitHub repository"],
["https://riot.im/app/#/room/#bibliogram:matrix.org", "Discussion room on Matrix"],
["https://github.com/cloudrac3r/bibliogram/wiki/Instances", "Other Bibliogram instances"],
["https://github.com/cloudrac3r/bibliogram/projects/1?fullscreen=true", "Project board"],
["https://cadence.moe/about/contact", "Contact the developer"]
]
each entry in links
li: a(href!=entry[0] target="_blank" rel="noopener noreferrer")= entry[1]