ap test
This commit is contained in:
parent
d242f97d42
commit
0b28be07a8
1 changed files with 10 additions and 0 deletions
10
layouts/_default/single.activitypub.json
Normal file
10
layouts/_default/single.activitypub.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
"type": "Article",
|
||||
"id": "{{ .Permalink }}",
|
||||
"name": "{{ .Title }}",
|
||||
"attributedTo": "https://fedi.libresolutions.network/@gabriel",
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
||||
"published": "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}",
|
||||
"content": {{ .Content | jsonify }}
|
||||
}
|
Loading…
Reference in a new issue