From 3c62a936378e490e99c2ac8955797464216b1691 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sun, 18 Feb 2018 22:51:57 +0100 Subject: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- feed.en.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 feed.en.xml (limited to 'feed.en.xml') diff --git a/feed.en.xml b/feed.en.xml new file mode 100644 index 0000000..b9693af --- /dev/null +++ b/feed.en.xml @@ -0,0 +1,25 @@ +--- +--- + + + + {{ site.name | xml_escape }} + {% if site.description %}{{ site.description | xml_escape }}{% endif %} + {{ site.url }} + + {% for post in site.posts limit:1 %}{{ post.date | date_to_rfc822 }}{% endfor %} + {% for post in site.posts %} + {% if post.lang == "en" %} + + {% capture title %}{% t post.title %}{% endcapture %} + {{ title | xml_escape }} + {{ site.author | strip_html | xml_escape }} + {{ post.content | truncatewords: 50 | xml_escape }} + {{ post.date | date_to_rfc822 }} + {{ site.url }}{{ post.url }} + {{ site.url }}{{ post.url }} + + {% endif %} + {% endfor %} + + -- cgit v1.2.3