From 857776eb3176496d3605324945a680e08d9fc615 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Fri, 5 Mar 2021 10:22:51 +0100 Subject: Create a news feed per tag --- src/atom/contributions.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/atom/contributions.xml (limited to 'src/atom/contributions.xml') diff --git a/src/atom/contributions.xml b/src/atom/contributions.xml new file mode 100644 index 0000000..4a057dd --- /dev/null +++ b/src/atom/contributions.xml @@ -0,0 +1,34 @@ +--- +layout: null +--- +{% assign documents = site.documents | where: 'feed', true | where_exp: 'post', 'post.tags contains "Contributions"' | sort: 'date' | reverse %} + + {{ site.url }}{{ site.baseurl }}/ + {{ site.title | xml_escape }} + {{ site.description | strip | xml_escape }} + {{ site.time | date_to_xmlschema }} + + + + + {{ site.author }} + {{ site.email }} + + Jekyll{% for post in documents limit:10 %} + + {{ site.url }}{{ site.baseurl }}{{ post.url }} + {{ post.title | xml_escape }} + + {{ site.author }} + {{ site.email }} + + {{ post.date | date_to_xmlschema }} + {% if post.description %} + {{ post.description | strip | xml_escape }}{% endif %} + + {{ post.content | strip | xml_escape }} + {% for tag in post.tags %} + {% endfor %}{% for cat in post.categories %} + {% endfor %} + {% endfor %} + -- cgit v1.1