diff options
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index dac71f4..c135bea 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,7 +16,9 @@ <!-- Icons --> <!-- RSS --> - <link href="{{ .RSSLink | relURL }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> + {{ with .OutputFormats.Get "rss" -}} + {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} {{ $scss := resources.Get "changelog.scss" }} {{ $style := $scss | resources.ToCSS | resources.Minify }} |