Fix social.lol link, add webfinger path

Mastodon needs social.lol link to be in html rather than generated by JavaScript
Webfinger static path should allow discovery
This commit is contained in:
Aadi Desai 2023-05-10 12:55:55 +01:00
parent 0def78fd0f
commit 36d52f1486
Signed by: supleed2
SSH key fingerprint: SHA256:CkbNRs0yVzXEiUp2zd0PSxsfRUMFF9bLlKXtE1xEbKM
2 changed files with 24 additions and 1 deletions

View file

@ -51,5 +51,5 @@
{{ $commandDelay := $.Site.Params.Terminal.commandDelay }} {{ $commandDelay := $.Site.Params.Terminal.commandDelay }}
{{ partial "partials/typeIndex.html" (dict "context" . "env" $env "cd" $cd "envWithDir" $envWithDir "cat" $cat "description" $description "tree" $tree "leaf" $leaf "ps1delay" $ps1Delay "stdoutdelay" $stdoutDelay "commanddelay" $commandDelay ) }} {{ partial "partials/typeIndex.html" (dict "context" . "env" $env "cd" $cd "envWithDir" $envWithDir "cat" $cat "description" $description "tree" $tree "leaf" $leaf "ps1delay" $ps1Delay "stdoutdelay" $stdoutDelay "commanddelay" $commandDelay ) }}
<div style="display: none;"><a rel="me" href="https://social.lol/@8bit"></a></div>
{{ end }} {{ end }}

View file

@ -0,0 +1,23 @@
{
"subject": "acct:8bit@social.lol",
"aliases": [
"https:/social.lol/@8bit",
"https:/social.lol/users/8bit"
],
"links": [
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https:/social.lol/@8bit"
},
{
"rel": "self",
"type": "application/activity+json",
"href": "https:/social.lol/users/8bit"
},
{
"rel": "http://ostatus.org/schema/1.0/subscribe",
"template": "https:/social.lol/authorize_interaction?uri={uri}"
}
]
}