Stop using deprecated .RSSLink
This commit is contained in:
parent
160b3d9400
commit
62a30ec21b
1 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,3 @@
|
|||
{{ if .RSSLink }}
|
||||
<!-- RSS -->
|
||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
|
|
Loading…
Reference in a new issue