summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh3
-rw-r--r--index.html2
2 files changed, 4 insertions, 1 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
diff --git a/index.html b/index.html
index 63d5b2f..98874bc 100644
--- a/index.html
+++ b/index.html
@@ -31,7 +31,7 @@
<li>Email: mvertes@free.fr</li>
<li>Github: <a href="https://github.com/mvertes"><span class="citation"
data-cites="mvertes">@mvertes</span></a></li>
-<li>Mastodon: <a href="https://mstdn.fr/@mvertes"><span class="citation"
+<li>Mastodon: <a rel="me" href="https://mstdn.fr/@mvertes"><span class="citation"
data-cites="mvertes">@mvertes</span></a></li>
</ul>
<hr>From: Marc Vertes, 03 may 2023