s1
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
if (isset($content[0]['content']) && $content[0]['content']) {
|
||||
$pageContent = '
|
||||
<div class="container mx-auto" style="">
|
||||
<div class="container mx-auto" style="display: flex; flex-direction: column; justify-content: center; align-items: center;">
|
||||
<div class="" style="padding-top:20px; padding-bottom:15px; font-size:25px;">
|
||||
<p style="text-align: center;">' . htmlspecialchars($content[0]['title']) . '</p>
|
||||
</div>
|
||||
@@ -50,7 +50,7 @@
|
||||
saveHtmlFile($fileName, $headerContent, $pageContent);
|
||||
} else {
|
||||
$pageContent = '
|
||||
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 100px 0;">
|
||||
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 100px 0; ">
|
||||
<p style="text-align: center; font-size: 30px; font-weight: bold;">Page not found (404).</p>
|
||||
<a href="/">Back to home</a>
|
||||
</div>';
|
||||
|
||||
Reference in New Issue
Block a user