mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-11-17 07:48:21 +01:00
Added context to the status AP endpoint
This commit is contained in:
parent
345ec25cf2
commit
19bd3e2205
3 changed files with 3 additions and 1 deletions
|
@ -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}}",
|
||||||
|
|
1
layouts/partials/context.ajson
Normal file
1
layouts/partials/context.ajson
Normal file
|
@ -0,0 +1 @@
|
||||||
|
"@context": "https://www.w3.org/ns/activitystreams"
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
{{ partial "context.ajson" . }},
|
||||||
"id": "{{ .Permalink }}",
|
"id": "{{ .Permalink }}",
|
||||||
"type": "Note",
|
"type": "Note",
|
||||||
"summary": null,
|
"summary": null,
|
||||||
|
|
Loading…
Reference in a new issue