~ianmjones/ianmjones.com

4c542cd944b614a595032217d08e7eaa853a633c — Ian M. Jones 9 days ago fa1689d master
Add safeURL to atom.xml template's link elements
1 files changed, 2 insertions(+), 2 deletions(-)

M templates/_default/atom.xml
M templates/_default/atom.xml => templates/_default/atom.xml +2 -2
@@ 3,12 3,12 @@
<id>{{ .URL }}</id>
<title>{{ .Title }}</title>
<updated>{{ site.Generated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
<link href="{{ .URL }}" rel="alternate"/>
<link href="{{ .URL | safeURL }}" rel="alternate"/>
{{ range .Pages }}<entry>
	<id>{{ .URL }}</id>
	<title>{{ .Title }}</title>
	<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
	<link href="{{ .URL }}" rel="alternate"/>
	<link href="{{ .URL | safeURL }}" rel="alternate"/>
	<content type="html">
		{{ exec "gmnitohtml" .Content | safeHTML }}
	</content>