From deb20fdfca35c64066fe4e375099350dc77ea408 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 22 May 2023 15:18:52 -0500 Subject: initial commit --- _functions/loadJSON.php | 111 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 _functions/loadJSON.php (limited to '_functions/loadJSON.php') diff --git a/_functions/loadJSON.php b/_functions/loadJSON.php new file mode 100644 index 0000000..c8540dc --- /dev/null +++ b/_functions/loadJSON.php @@ -0,0 +1,111 @@ +published == 'Yes') { + // Add relevant metadata to the output template + $year = date_format(date_create($postObject->created), "Y"); + if (!in_array($year, $stack)) { + // If any posts have been created in a list, close the existing