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 6c5fa3c81a
commit 762e657c98
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>