Add a set of templates to generate an Atom feed!

This commit is contained in:
Eryn Wells 2022-11-03 09:16:25 -07:00
parent e83ba90c62
commit 3ef4c7eb1b
4 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,6 @@
<entry>
{{ partial "atom_entry_metadata.xml" . }}
{{- if .Content -}}
{{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content>
{{- end -}}
</entry>