Added a bit more additional formatting to the outbox

This commit is contained in:
Jeffrey Phillips Freeman 2023-10-09 13:47:44 -04:00
parent ef3c586548
commit bc93a6603d
No known key found for this signature in database
GPG key ID: AD914585C9406B6A

View file

@ -28,7 +28,7 @@
"object": {
"id": "{{ .Permalink }}",
"type": "Note",
"content": {{ printf "\"" | safeHTML }}{{.Title}}{{ if .Summary }}<br>{{ replace (replace .Summary "\n" "<br>") "\r" "" }}{{ end }}<br><a href='{{.Permalink}}'>{{.Permalink}}</a>{{ printf "\"" | safeHTML }},
"content": {{ printf "\"" | safeHTML }}<b>{{.Title}}</b>{{ if .Summary }}<br>{{ replace (replace .Summary "\n" "<br>") "\r" "" }}{{ end }}<br><br>Read more here:<br><a href='{{.Permalink}}'>{{.Permalink}}</a>{{ printf "\"" | safeHTML }},
"url": "{{.Permalink}}",
"attributedTo": "{{ .Site.BaseURL }}{{ site.Params.apUser | lower}}",
"to": "https://www.w3.org/ns/activitystreams#Public",