From 74708eb40c9477050bdb6f1ad8ac461971fcd257 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Mon, 9 Oct 2023 12:38:56 -0400 Subject: [PATCH] Added a summary to status posts --- layouts/index.activity_outbox.ajson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.activity_outbox.ajson b/layouts/index.activity_outbox.ajson index a2600403b..e3553666d 100644 --- a/layouts/index.activity_outbox.ajson +++ b/layouts/index.activity_outbox.ajson @@ -28,7 +28,7 @@ "object": { "id": "{{ .Permalink }}", "type": "Note", - "content": "{{.Title}}<br><a href='{{.Permalink}}'>{{.Permalink}}</a>", + "content": "{{.Title}}{{ if .Summary }}<br>{{ .Summary }}{{ end }}<br><a href='{{.Permalink}}'>{{.Permalink}}</a>", "url": "{{.Permalink}}", "attributedTo": "{{ .Site.BaseURL }}{{ site.Params.apUser | lower}}", "to": "https://www.w3.org/ns/activitystreams#Public", -- GitLab