Added context to the status AP endpoint

This commit is contained in:
Jeffrey Phillips Freeman 2023-10-13 18:40:38 -04:00
parent 345ec25cf2
commit 19bd3e2205
No known key found for this signature in database
GPG key ID: AD914585C9406B6A
3 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{ {
"@context": "https://www.w3.org/ns/activitystreams", {{ partial "context.ajson" . }},
"id": "{{.Permalink}}activity", "id": "{{.Permalink}}activity",
"type": "Create", "type": "Create",
"actor": "{{ .Site.BaseURL }}{{ site.Params.apUser | lower}}", "actor": "{{ .Site.BaseURL }}{{ site.Params.apUser | lower}}",

View file

@ -0,0 +1 @@
"@context": "https://www.w3.org/ns/activitystreams"

View file

@ -1,4 +1,5 @@
{ {
{{ partial "context.ajson" . }},
"id": "{{ .Permalink }}", "id": "{{ .Permalink }}",
"type": "Note", "type": "Note",
"summary": null, "summary": null,