From 5821fc6824cb47d89c3d830b87d9108553cb0f28 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 25 Aug 2022 19:32:10 +0100 Subject: [PATCH] minor layout --- src/index.11tydata.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.11tydata.js b/src/index.11tydata.js index 28c0bbc..9be1ba4 100644 --- a/src/index.11tydata.js +++ b/src/index.11tydata.js @@ -81,8 +81,8 @@ async function do_feeds() { if(!item.pubdate) item.pubdate = item.published - || item.updated - || new Date("1970-01-01"); + || item.updated + || new Date("1970-01-01"); item.pubdate_obj = new Date(item.pubdate); item.pubdate_iso = item.pubdate_obj.toISOString(); item.pubdate_display = dateformat(