Build.php turns Home.php into index.html.

This commit is contained in:
sarah committed 2026-08-19 18:40:25 +02:00
1 parent 950f82de62
commit 63f79a1f66
2 files changed
+5 -25

No files matched your search

+5 -4
View File
@@ -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",
"./"
);
/*
-21
View File
@@ -1,21 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta
http-equiv="refresh"
content="0; url=./Pages/Home.html"
>
<title>Redirecting...</title>
</head>
<body>
<p>
Redirecting to
<a href="./Pages/Home.html">Home</a>...
</p>
</body>
</html>