From d82d8848cc47ce0b2300b977359a526c538f9a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADnez=20L=C3=B3pez?= Date: Sun, 11 Aug 2019 12:32:54 +0100 Subject: [PATCH] Trying to fix .RSSLink deprecation message. --- layouts/_default/baseof.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */}}