mirror of
https://github.com/supleed2/supleed2-old-landing-page.git
synced 2024-11-09 19:35:49 +00:00
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:
parent
0def78fd0f
commit
36d52f1486
|
@ -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 }}
|
||||||
|
|
23
static/.well-known/webfinger
Normal file
23
static/.well-known/webfinger
Normal 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}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue