1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Add some ActivityStreams metadata to Atom feeds

This commit is contained in:
Rohan Kumar 2022-05-28 13:43:30 -07:00
parent 3b8b35ce8c
commit f514677e94
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -27,6 +27,13 @@
<id>{{ .Permalink }}</id>
<rights>CC-BY-SA 4.0 by Rohan Kumar</rights>
<content type="html"><![CDATA[{{ .Content | safeHTML }}]]></content>
<object-type xmlns="http://activitystrea.ms/spec/1.0/">
{{- if eq .Section "notes" -}}
note
{{- else if eq .Section "posts" -}}
article
{{- end -}}
</object-type>
</entry>
{{ end }}
</feed>