aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-14 12:59:13 -0300
committerEuAndreh <eu@euandre.org>2020-11-14 13:51:07 -0300
commit4feb22921294fed75806564bde27b0ee746227aa (patch)
tree3f5b77e5a63b087f3ef5fd52ff1ad2482d23872c /_includes
parentplaintext generator: Filter the collection instead of each document (diff)
downloadeuandre.org-4feb22921294fed75806564bde27b0ee746227aa.tar.gz
euandre.org-4feb22921294fed75806564bde27b0ee746227aa.tar.xz
Generate feeds for each categorized entries
Diffstat (limited to '')
-rw-r--r--_includes/feed.atom2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/feed.atom b/_includes/feed.atom
index c4a0e3d..e627f9c 100644
--- a/_includes/feed.atom
+++ b/_includes/feed.atom
@@ -12,7 +12,7 @@
<email>{{ site.author.email | xml_escape }}</email>
</author>
- {% assign entries = include.entries | where:"lang", include.lang | sort: "date" | reverse %}
+ {% assign entries = include.entries | where:"lang", include.lang | has_category:include.categories_filter | sort: "date" | reverse %}
{% for entry in entries %}
<entry xml:lang="{{ entry.lang }}">
<title type="html">{{ entry.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>