summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-05-03 15:45:45 +0200
committerMarc Vertes <mvertes@free.fr>2023-05-03 15:45:45 +0200
commit79a1e28000c945cf238e2f4acd6494c4472b2e78 (patch)
tree0662a5e37b01bf839b4952b93babd413118afc66 /build.sh
parent225ec09076ce44673e4914770d67cadd670910d8 (diff)
add rel="me" for Mastodon auth
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index efda627..90f05e9 100755
--- a/build.sh
+++ b/build.sh
@@ -44,3 +44,6 @@ for d in *; do
[ -d "$d" ] && genhtml "$d"
done
genhtml .
+
+# Fix for mastodon.
+sed '/mstdn/s/href=/rel="me" href=/' index.html >xx && mv xx index.html