From 63f79a1f660d67ce80fd7c099177e864e4883483 Mon Sep 17 00:00:00 2001 From: Sarahtonin Date: Wed, 19 Aug 2026 18:40:25 +0200 Subject: [PATCH] Build.php turns Home.php into index.html. --- Build.php | 9 +++++---- index.html | 21 --------------------- 2 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 index.html diff --git a/Build.php b/Build.php index b631e85..1254647 100644 --- a/Build.php +++ b/Build.php @@ -139,10 +139,11 @@ foreach ($StaticDirectories as $Directory) { * Copy index.html. */ -copy( - $RootDirectory . "/index.html", - $OutputDirectory . "/index.html" -); + RenderPage( + $RootDirectory . "/Pages/Home.php", + $OutputDirectory . "/index.html", + "./" + ); /* diff --git a/index.html b/index.html deleted file mode 100644 index eb3f4a2..0000000 --- a/index.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - Redirecting... - - - -

- Redirecting to - Home... -

- -