From 692064b4cfc7711d249443b6c742c4f50ca363f8 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Fri, 20 May 2022 18:21:04 -0700 Subject: [PATCH] okay maybe fixed now? --- templates/_default/atom.xml | 2 +- templates/atom.xml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 templates/atom.xml diff --git a/templates/_default/atom.xml b/templates/_default/atom.xml index 19557bd..2d3cf14 100644 --- a/templates/_default/atom.xml +++ b/templates/_default/atom.xml @@ -9,7 +9,7 @@ {{ .Title }} {{ .Date.Format "2006-01-02T15:04:05Z07:00" }} - {{ .Content | safeHTML }} + {{ .Content }} {{ end -}} diff --git a/templates/atom.xml b/templates/atom.xml new file mode 100644 index 0000000..d479fb9 --- /dev/null +++ b/templates/atom.xml @@ -0,0 +1,18 @@ +{{ `` | safeHTML }} + +{{ .URL }} +{{ .Title }} +{{ site.Generated.Format "2006-01-02T15:04:05Z07:00" }} + +{{ range .Pages }} + {{ .URL }} + {{ .Title }} + {{ .Date.Format "2006-01-02T15:04:05Z07:00" }} + + {{ .Content }} + + Morgan McMillian + + +{{ end -}} +