From 953c3265afab1d82d0ba6928295c598ab0f0b5af Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 28 Jul 2014 23:18:36 -0400 Subject: [PATCH] Remove problematic liquid... for now --- feed.xml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) 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 %}