Add Mastodon webfinger to point to toot.icyphox.sh Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Thu, 04 Jun 2020 10:29:44 +0530
2 files changed,
28 insertions(+),
14 deletions(-)
A
bin/webfinger.sh
@@ -0,0 +1,12 @@
+#!/bin/sh +# creates '.well-known/host-meta' + +well_known="build/.well-known" +host_meta="host-meta" +mkdir -p "$acme_dir" +touch "$well_known/$host_meta" + +echo "<?xml version="1.0" encoding="UTF-8"?> +<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> + <Link rel="lrdd" type="application/xrd+xml" template="https://toot.icyphox.sh/.well-known/webfinger?resource={uri}"/> +</XRD>" > "$well_known/$host_meta"
M
static/style.css
→
static/style.css
@@ -25,6 +25,22 @@ font-size: 18px;
line-height: 1.5; } +a { + color: var(--gray); + margin: 0; + transition: all 200ms; + text-decoration: none; + outline: 0; +} + +a:hover { + color: var(--dark); + background: var(--light-gray); + border-bottom: 1px solid var(--cyan); +} + + + .navbar { margin: 2px 0; }@@ -232,20 +248,6 @@ max-width: 1px;
white-space: nowrap; text-overflow: ellipsis; overflow: hidden; -} - -a { - color: var(--gray); - margin: 0; - transition: all 200ms; - text-decoration: none; - outline: 0; -} - -a:hover { - color: var(--dark); - background: var(--light-gray); - border-bottom: 1px solid var(--cyan); } img {