Stop using deprecated .RSSLink

This commit is contained in:
Tyler Harms 2019-04-13 22:43:37 -05:00
parent 160b3d9400
commit 62a30ec21b

View file

@ -1,5 +1,3 @@
{{ if .RSSLink }} {{ range .AlternativeOutputFormats -}}
<!-- RSS --> {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> {{ end -}}
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}