Stop using deprecated .RSSLink

This commit is contained in:
Tyler Harms 2019-04-13 22:43:37 -05:00
parent 160b3d9400
commit 62a30ec21b
1 changed files with 3 additions and 5 deletions

View File

@ -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 -}}