From 1459baee57f73964d50c20e28b93da9a165e2d1a Mon Sep 17 00:00:00 2001 From: mathiascode Date: Sun, 1 Dec 2019 07:42:45 +0200 Subject: [PATCH] Feed corrections --- feed.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/feed.xml b/feed.xml index 4f867e5..49f00de 100644 --- a/feed.xml +++ b/feed.xml @@ -1,21 +1,30 @@ --- layout: minify --- +{% capture time_seed %} + {{ 'now' | date: "%s" }} +{% endcapture %} + +{% assign random = time_seed | times: 1103515245 | plus: 12345 | divided_by: 65536 | modulo: 32768 | modulo: 10 %} + {{ site.title }} - News {{ site.description }} - {{ site.time | date_to_xmlschema }} + {{ site.time | date_to_xmlschema }} + {{ random }} {% for post in site.posts %} {{ post.date | date: "%B %e, %Y" }} - {{ site.title }} + + {{ site.title }} + {{ post.content | xml_escape }} {{ post.date | date_to_xmlschema }} {{ post.date | date_to_xmlschema }} - {{ post.id | xml_escape }} + {{ random }} {% endfor %}