Uses correct URL accessor and removes use of deprecated .URL
This commit is contained in:
parent
a8a2b05461
commit
e15be0e410
3 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
|
||||
{{ with .Site.Copyright }}<copyright>{{.}}</copyright>{{end}}
|
||||
{{ if not .Date.IsZero }}<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
<atom:link href="{{.URL}}" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="{{.Permalink}}" rel="self" type="application/rss+xml" />
|
||||
{{ range .Site.RegularPages }}
|
||||
{{ if ne .Type "page" }}
|
||||
<item>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue