diff --git a/layouts/_default/single.activitypub.json b/layouts/_default/single.activitypub.json new file mode 100644 index 0000000..33e5866 --- /dev/null +++ b/layouts/_default/single.activitypub.json @@ -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 }} +}