Skip to content

Commit

Permalink
Merge pull request #2 from hyphacoop/initial
Browse files Browse the repository at this point in the history
feat: add WebFinger support for staticpub.distributed.press
  • Loading branch information
RangerMauve authored Dec 4, 2024
2 parents 41abe9c + d0863d0 commit a740d0a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .well-known/host-meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
<Link rel="lrdd" template="https://staticpub.distributed.press/.well-known/webfinger?resource={uri}"/>
</XRD>
22 changes: 22 additions & 0 deletions .well-known/webfinger
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"subject": "acct:[email protected]",
"aliases": [
],
"links": [
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https://staticpub.distributed.press/about.html"
},
{
"rel": "self",
"type": "application/activity+json",
"href": "https://staticpub.distributed.press/about.jsonld"
},
{
"rel": "self",
"type": "application/activity+json",
"href": "ipns://staticpub.distributed.press/about-ipns.jsonld"
}
]
}
2 changes: 1 addition & 1 deletion posts/helloworld.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Hello, Fediverse!</title>
<link rel="alternate" type="application/activity+json" href="https://staticpub.distributed.press/posts/hello-world.jsonld" />
<link rel="alternate" type="application/activity+json" href="https://staticpub.distributed.press/posts/helloworld.jsonld" />
<link rel="alternate" type="application/activity+json" href="ipns://staticpub.distributed.press/posts/helloworld-ipns.jsonld" />
</head>
<body>
Expand Down

0 comments on commit a740d0a

Please sign in to comment.