From 58fd7fe059f2b6ae7d0aea37fd2bf89555e1e102 Mon Sep 17 00:00:00 2001 From: LordSchmackes Date: Sun, 24 May 2026 09:17:29 +0200 Subject: [PATCH 1/2] Add runtime asset and layout diagnostics to index.php and implement asset versioning in head.php --- index.php | 57 +++++++++++++++++++++++++++++++++++++++++++++++ partials/head.php | 8 +++++-- 2 files changed, 63 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 894e4de..e211f13 100644 --- a/index.php +++ b/index.php @@ -964,3 +964,60 @@ $recipesJson = json_encode(array_values(array_map(function($r) use ($lang) { })(); + + diff --git a/partials/head.php b/partials/head.php index 0636bb0..3de1d2b 100644 --- a/partials/head.php +++ b/partials/head.php @@ -1,6 +1,10 @@ @@ -18,8 +22,8 @@ $description = $description ?? 'Seasonal recipes, tested tips, and approachable - - + + From 792cbe18c13b5a8e9e47bb250a7ad0606baa27d7 Mon Sep 17 00:00:00 2001 From: LordSchmackes Date: Sun, 24 May 2026 09:32:08 +0200 Subject: [PATCH 2/2] Update .gitignore to include .env and log files, and remove unused agent log script from index.php for cleaner code. --- .gitignore | 3 ++- index.php | 57 ------------------------------------------------------ 2 files changed, 2 insertions(+), 58 deletions(-) diff --git a/.gitignore b/.gitignore index 0cfe729..87f5670 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idx/* -.env \ No newline at end of file +.env +*.log \ No newline at end of file diff --git a/index.php b/index.php index e211f13..894e4de 100644 --- a/index.php +++ b/index.php @@ -964,60 +964,3 @@ $recipesJson = json_encode(array_values(array_map(function($r) use ($lang) { })(); - -