From 07f433d2da316dcb37dc34189809e77cd169c58b Mon Sep 17 00:00:00 2001 From: sistav Date: Mon, 4 May 2026 00:08:02 -0400 Subject: [PATCH] Add to the log --- assets/data/log.json | 8 ++++++++ log/index.php | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/assets/data/log.json b/assets/data/log.json index 75fd419..3518373 100644 --- a/assets/data/log.json +++ b/assets/data/log.json @@ -1,5 +1,13 @@ { "entries": [ + { + "title": "End of April", + "date": "2026-04-01", + "listening": "Semi-Charmed Life - Third Eye Blind", + "reading": "I Deliver Parcels in Beijing - Anyan Hu", + "working on": "VLANs", + "playing": "Bloons TD6" + }, { "title": "Post Valentines Day", "date": "2026-02-19", diff --git a/log/index.php b/log/index.php index 349538a..2f478b3 100644 --- a/log/index.php +++ b/log/index.php @@ -5,7 +5,7 @@ include $_SERVER['DOCUMENT_ROOT'] . '/includes/head.php'; $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/assets/data/log.json'), true); $entries = $data['entries'] ?? []; -$fields = ['listening', 'watching', 'reading', 'working on', 'thinking']; +$fields = ['listening', 'watching','playing', 'reading', 'working on', 'thinking']; ?>