1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-10 18:47:30 +00:00
bibliogram/src/site/pug/home.pug

55 lines
2.1 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-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
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.
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,
generates RSS feeds, and doesn't urge you to sign up. #[a(href="/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-02-01 08:17:10 +00:00
h2 About this instance
ul
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-02-01 08:17:10 +00:00
li Instance is #{allUnblocked ? "not blocked" : "blocked"}
li RSS feeds are #{rssEnabled ? "enabled" : "disabled"}
2020-02-02 15:09:40 +00:00
li Tor is #{torAvailable ? "enabled" : "not available"}
2020-02-01 08:17:10 +00:00
h2 External links
2020-01-28 10:37:19 +00:00
ul.link-list
-
const links = [
["https://github.com/cloudrac3r/bibliogram", "GitHub repository"],
2020-02-14 09:51:46 +00:00
["https://riot.im/app/#/room/#bibliogram:matrix.org", "Discussion room on Matrix"],
2020-01-28 10:55:40 +00:00
["https://github.com/cloudrac3r/bibliogram/wiki/Instances", "Other Bibliogram instances"],
2020-01-28 10:37:19 +00:00
["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]