diff --git a/feed.xml b/feed.xml index dd11239..9a2595d 100644 --- a/feed.xml +++ b/feed.xml @@ -4,7 +4,8 @@ layout: none {% assign add_protocol = false %} -{% if site.url != '' and site.url | split: '/' | first != 'http:' and site.url | split: '/' | first != 'https:' %} +{% assign protocol = site.url | split: '/' | first %} +{% if site.url != '' and protocol != 'http:' and protocol != 'https:' %} {% assign site_url = site.url | prepend: 'http:' %} {% assign add_protocol = true %} {% else %}