From d91de5881cf18db73d7a81c3ebe2f76923339316 Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Fri, 27 Nov 2020 19:06:38 -0500 Subject: [PATCH] Fix unclosed tags in Atom template --- templates.go | 4 ++-- templates/atom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates.go b/templates.go index b87217d..20b6254 100644 --- a/templates.go +++ b/templates.go @@ -102,14 +102,14 @@ const atom_xml = ` {{ index site.URLs 0 }}{{ .Path }} {{ .Title }} {{ .Updated.Format "2006-01-02T15:04:05Z07:00" }} - + {{ range .Entries }} {{ index site.URLs 0 }}{{ .Path }} {{ .Title }} {{ .Date.Format "2006-01-02T15:04:05Z07:00" }} {{- $path := .Path }} {{- range site.URLs }} - + {{- end }} {{ end -}} diff --git a/templates/atom.xml b/templates/atom.xml index be9a6d2..3650a80 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -3,14 +3,14 @@ {{ index site.URLs 0 }}{{ .Path }} {{ .Title }} {{ .Updated.Format "2006-01-02T15:04:05Z07:00" }} - + {{ range .Entries }} {{ index site.URLs 0 }}{{ .Path }} {{ .Title }} {{ .Date.Format "2006-01-02T15:04:05Z07:00" }} {{- $path := .Path }} {{- range site.URLs }} - + {{- end }} {{ end -}}