diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-04-14 20:45:49 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-04-14 20:45:49 +0300 |
commit | c68b6e26aa8d053e96be7d6a2eaca579bc7c8eb7 (patch) | |
tree | e66039153047a55f5204f18a1423e3178560e3af /layouts | |
parent | ad9cf5ad3816b7cc47b6e86bb65d54f773673591 (diff) |
Remove deprecated .RSSLink
Use .OutputFormats.Get "RSS" instead.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 7567b68..11efa74 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -32,5 +32,5 @@ <link rel="apple-touch-icon" sizes="180x180" href="{{ "images/apple-touch-icon.png" | 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> |