diff --git a/layout/_partials/head.swig b/layout/_partials/head.swig index 3f6149186..8f2d3b43b 100644 --- a/layout/_partials/head.swig +++ b/layout/_partials/head.swig @@ -1,3 +1,7 @@ +{% if theme.rss == '' and config.feed and config.feed.path %} + {% set theme.rss = config.root + config.feed.path %} +{% endif %} + @@ -13,8 +17,7 @@ {% endif %} {% if theme.rss %} - + {% endif %} {% if theme.favicon %} diff --git a/layout/_partials/header.swig b/layout/_partials/header.swig index 8618dc504..2f585acec 100644 --- a/layout/_partials/header.swig +++ b/layout/_partials/header.swig @@ -1,11 +1,3 @@ -{% if theme.rss !== false %} - {% if theme.rss %} - {% set feed_uri = theme.rss %} - {% elif config.feed and config.feed.path %} - {% set feed_uri = config.root + config.feed.path %} - {% endif %} -{% endif %} -