Updates RSS link from deprecated .Site.RSSLink

This commit is contained in:
Josh Johnson 2024-01-03 19:11:34 -05:00
parent 20db28e2b3
commit 830ad5392b

View file

@ -16,7 +16,7 @@
{{ partial "custom_stylesheets.html" . }}
{{ if .Site.Params.rssenabled }}
<link href="{{.Site.RSSLink}}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{.Site.Title}}" />
{{ end }}
</head>
<body class="site">