diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index c96fc49e..40f0b1b4 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -11,6 +11,8 @@ {{ end }} {{ if .Site.Params.enableRSS }} - {{ with .Site.Params.subscribe }}{{ . }}{{ else }}{{ i18n "subscribe" }}{{ end }} - {{ end }} + {{ with .OutputFormats.Get "RSS" }} + {{ with $.Site.Params.subscribe }}{{ . }}{{ else }}{{ i18n "subscribe" }}{{ end }} + {{ end }} + {{ end }}