summaryrefslogtreecommitdiffstats
path: root/_build/themes/ninenines/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to '_build/themes/ninenines/layouts/partials/head.html')
-rw-r--r--_build/themes/ninenines/layouts/partials/head.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/_build/themes/ninenines/layouts/partials/head.html b/_build/themes/ninenines/layouts/partials/head.html
index b3410726..b12f87a9 100644
--- a/_build/themes/ninenines/layouts/partials/head.html
+++ b/_build/themes/ninenines/layouts/partials/head.html
@@ -14,7 +14,7 @@
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
<link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- {{ if .RSSLink }}
- <link rel="alternate" href="{{ .RSSLink }}" type="application/rss+xml" title="{{ .Site.Title }}" />
- {{ end }}
+ {{ with .OutputFormats.Get "rss" -}}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+ {{ end -}}
</head>