1
0
mirror of https://github.com/danbee/danbarber.me.hugo.git synced 2025-03-04 08:59:18 +00:00

Fixing feed validation errors

This commit is contained in:
Daniel Barber 2019-10-25 20:54:23 -04:00
parent 32baf7cad5
commit e1d7668a3e
3 changed files with 61 additions and 52 deletions

View File

@ -3,9 +3,13 @@
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link href="{{ .Permalink }}" />
<id>{{ .Permalink }}"</id>
<id>{{ .Permalink }}</id>
<generator uri="https://gohugo.io">Hugo</generator>
<author>
<name>Daniel Barber</name>
</author>
{{ with .Site.Author.email }}
<author>
<name>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</name>
@ -24,8 +28,11 @@
<entry>
<title>{{ .Title }}</title>
<link href="{{ .Permalink }}" />
<updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</updated>
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
<id>{{ .Permalink }}</id>
<author>
<name>Daniel Barber</name>
</author>
<content type="html">{{ .Content | html }}</content>
</entry>
{{ end }}

View File

@ -6,11 +6,9 @@
<id>{{ .Permalink }}"</id>
<generator uri="https://gohugo.io">Hugo</generator>
{{ with .Site.Author.email }}
<author>
<name>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</name>
<name>Daniel Barber</name>
</author>
{{end}}
{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>
@ -24,8 +22,11 @@
<entry>
<title>{{ .Title }}</title>
<link href="{{ .Permalink }}" />
<updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</updated>
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
<id>{{ .Permalink }}</id>
<author>
<name>Daniel Barber</name>
</author>
<content type="html">{{ .Content | html }}</content>
</entry>
{{ end }}

View File

@ -3,14 +3,12 @@
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link href="{{ .Permalink }}" />
<id>{{ .Permalink }}"</id>
<id>{{ .Permalink }}</id>
<generator uri="https://gohugo.io">Hugo</generator>
{{ with .Site.Author.email }}
<author>
<name>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</name>
<name>Daniel Barber</name>
</author>
{{end}}
{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>
@ -24,8 +22,11 @@
<entry>
<title>{{ .Title }}</title>
<link href="{{ .Permalink }}" />
<updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</updated>
<updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
<id>{{ .Permalink }}</id>
<author>
<name>Daniel Barber</name>
</author>
<content type="html">{{ .Content | html }}</content>
</entry>
{{ end }}