mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-21 17:47:10 +00:00
Remove problematic liquid... for now
This commit is contained in:
parent
7ef76246a6
commit
953c3265af
1 changed files with 2 additions and 13 deletions
15
feed.xml
15
feed.xml
|
@ -3,14 +3,6 @@ layout: none
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
||||||
{% 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 %}
|
|
||||||
<title type="text">{{ site.title }}</title>
|
<title type="text">{{ site.title }}</title>
|
||||||
<generator uri="https://github.com/mojombo/jekyll">Jekyll</generator>
|
<generator uri="https://github.com/mojombo/jekyll">Jekyll</generator>
|
||||||
<link rel="self" type="application/atom+xml" href="{{ site_url }}/feed.xml" />
|
<link rel="self" type="application/atom+xml" href="{{ site_url }}/feed.xml" />
|
||||||
|
@ -39,12 +31,9 @@ layout: none
|
||||||
</author>
|
</author>
|
||||||
{% for tag in post.tags %}<category scheme="{{ site_url }}/tags/#{{ tag | uri_escape }}" term="{{ tag }}" />{% endfor %}
|
{% for tag in post.tags %}<category scheme="{{ site_url }}/tags/#{{ tag | uri_escape }}" term="{{ tag }}" />{% endfor %}
|
||||||
<content type="html">
|
<content type="html">
|
||||||
{% if add_protocol %}
|
|
||||||
{{ post.content | xml_escape | replace: site.url, site_url }}
|
|
||||||
{% else %}
|
|
||||||
{{ post.content | xml_escape }}
|
{{ 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></content>
|
</content>
|
||||||
</entry>
|
</entry>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</feed>
|
</feed>
|
||||||
|
|
Loading…
Reference in a new issue