mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-13 18:38:11 +02:00
Build.php turns Home.php into index.html.
This commit is contained in:
1 parent
950f82de62
commit
63f79a1f66
2 files changed
+5
-25
No files matched your search
@@ -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
@@ -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>
|
||||
Reference in new issue
Block a user