Updates RSS link from deprecated .Site.RSSLink
This commit is contained in:
parent
20db28e2b3
commit
830ad5392b
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Reference in a new issue