diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 718d51a..d2b5f61 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -44,9 +44,9 @@
{{ end }}
-{{ if .RSSLink }}
-
-{{ end }}
+{{ with .OutputFormats.Get "rss" -}}
+ {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+{{ end -}}
{{ if .OutputFormats.Get "json" }}
@@ -57,4 +57,4 @@
{{- if templates.Exists "partials/extra-head.html" -}}
{{ partial "extra-head.html" . }}
-{{- end }}
\ No newline at end of file
+{{- end }}