diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-04-02 21:58:33 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-04-02 21:58:33 +0300 |
commit | f16c1bbbe52a12ced622fd458cef260afc865fce (patch) | |
tree | f092f62be46b5dc45e187b23389b75484e9f1984 | |
parent | a4fe7a835f8e2acfd0910377f31e0aabeb82e601 (diff) |
Use .OutputFormats.Get "RSS" instead of .RSSLink
.RSSLink will be deprecated in Hugo 0.55
-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 fd787b0..7501545 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,5 +33,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> |