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... -

- -