diff --git a/feed.xml b/feed.xml index 9a2595d..3702bf6 100644 --- a/feed.xml +++ b/feed.xml @@ -3,14 +3,6 @@ layout: none --- -{% assign add_protocol = false %} -{% 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 %} - {% assign site_url = site.url %} -{% endif %} {{ site.title }} Jekyll @@ -39,12 +31,9 @@ layout: none {% for tag in post.tags %}{% endfor %} - {% if add_protocol %} - {{ post.content | xml_escape | replace: site.url, site_url }} - {% else %} {{ post.content | xml_escape }} - {% endif %} - <p><a href="{{ site_url }}{{ post.url }}">{{ post.title }}</a> was originally published by {{ site.owner.name }} at <a href="{{ site_url }}">{{ site.title }}</a> on {{ post.date | date: "%B %d, %Y" }}.</p> + <p><a href="{{ site_url }}{{ post.url }}">{{ post.title }}</a> was originally published by {{ site.owner.name }} at <a href="{{ site_url }}">{{ site.title }}</a> on {{ post.date | date: "%B %d, %Y" }}.</p> + {% endfor %}