Skip to content

Commit

Permalink
Remove deprecated .RSSLink
Browse files Browse the repository at this point in the history
Use .OutputFormats.Get "RSS" instead.
  • Loading branch information
EmielH committed Apr 14, 2019
1 parent e10c186 commit 0d00f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
<link rel="manifest" href="{{ "site.webmanifest" | relURL }}">

<!-- RSS -->
<link href="{{ .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 }}" />
</head>

0 comments on commit 0d00f6d

Please sign in to comment.