diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 724f7c1..03c6b2a 100755
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -27,9 +27,9 @@
{{ partialCached "site-favicon.html" . }}
{{ end }}
- {{ if .RSSLink }}
-
-
+ {{ if .OutputFormats.Get "RSS" }}
+
+
{{ end }}
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}