From 0b28be07a8146d070adcf9cbf17d6e87e360eda8 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Sat, 27 Sep 2025 18:18:33 -0400 Subject: [PATCH] ap test --- layouts/_default/single.activitypub.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 layouts/_default/single.activitypub.json 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 }} +}