From f207573324e2a946661f947e55cde2cd068e09bc3dad74fdffb9aa0f53496eea Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 30 Apr 2022 00:00:00 +0000 Subject: Remove self-closing tags from Atom feeds --- layouts/index.atom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/index.atom.xml') diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml index adf2431..b2ff567 100644 --- a/layouts/index.atom.xml +++ b/layouts/index.atom.xml @@ -1,8 +1,8 @@ {{ .Site.Title }} - - {{ if not .Date.IsZero }} + + {{ if not .Date.IsZero }} {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}{{ end }} {{ .Permalink }} @@ -12,7 +12,7 @@ Hugo -- gohugo.io{{ range first .Site.Config.Services.RSS.Limit .Site.RegularPages }} {{ .Title }}> - + {{ .Permalink }} {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }} {{- if .Content }} -- cgit v1.2.3