aboutsummaryrefslogtreecommitdiff
path: root/_includes/feed.atom
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-06 02:44:04 -0300
committerEuAndreh <eu@euandre.org>2020-02-06 02:48:56 -0300
commit0e95ca39546707f7e3bb3df25df2a5096a15f4c8 (patch)
treef8c32901ff429754d206cbcdab5cfed363c35c1b /_includes/feed.atom
parentRewrite md with link references (diff)
downloadeuandre.org-0e95ca39546707f7e3bb3df25df2a5096a15f4c8.tar.gz
euandre.org-0e95ca39546707f7e3bb3df25df2a5096a15f4c8.tar.xz
Add Atom feed with all languages
Diffstat (limited to '_includes/feed.atom')
-rw-r--r--_includes/feed.atom3
1 files changed, 1 insertions, 2 deletions
diff --git a/_includes/feed.atom b/_includes/feed.atom
index f4243ea..bf0f4d4 100644
--- a/_includes/feed.atom
+++ b/_includes/feed.atom
@@ -13,8 +13,7 @@
<email>{{ site.author.email | xml_escape }}</email>
</author>
- {% assign posts = site.posts | where:"lang", include.lang | sort: "date" | reverse %}
- {% for post in posts %}
+ {% for post in include.posts %}
<entry xml:lang="{{ post.lang }}">
<title type="html">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
<link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />