diff options
author | Marco Lehmann <m99@posteo.de> | 2019-06-19 09:42:09 +0300 |
---|---|---|
committer | Marco Lehmann <m99@posteo.de> | 2019-06-19 09:42:09 +0300 |
commit | 4c13a7d3f1f56d5ed045ca23007cfa9a87c27d0b (patch) | |
tree | 3e820b1307c1c2785043131b8fc50e460211d2d9 | |
parent | 56cdaa8dd16b618f120da07525e38d8bebd247bf (diff) |
Fixed .RSSLink warning
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d4424f8..31f16cb 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -11,8 +11,8 @@ <meta name="HandheldFriendly" content="True" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - {{ if .RSSLink -}} - <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> + {{ range .AlternativeOutputFormats -}} + <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> {{ end -}} <!-- Styles and Fonts --> |