add support for generating pages in German and update routing for generation
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
exit;
|
||||
}
|
||||
}
|
||||
else if($url[0] === 'generate') {
|
||||
include_once __DIR__ . '/generator.php';
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -29,7 +33,7 @@
|
||||
<script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.10/dist/htmx.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="min-h-screen bg-zinc-950 text-zinc-100 p-8" hx-get="/generator.php" hx-trigger="load">
|
||||
<body class="min-h-screen bg-zinc-950 text-zinc-100 p-8" hx-get="/generate" hx-trigger="load">
|
||||
<h1 class="text-2xl font-bold mb-4">Page being generated, please wait</h1>
|
||||
<p class="text-zinc-300 mb-3">
|
||||
Generating content... this should complete in about 30 seconds.
|
||||
|
||||
Reference in New Issue
Block a user