Fix table creation (#2)

- Add Caddyfile
- Add start of vanilla layout
This commit is contained in:
2024-04-04 20:49:25 -04:00
parent 9e027ca51e
commit 8db4216ea2
4 changed files with 44 additions and 5 deletions

View File

@@ -18,3 +18,23 @@ const DATABASE_NAME = 'frc.db';
// (editing below this line is not advised)
include 'lib/Data.php';
/**
* Render the page title
* @param string $title The title of the page being displayed
*/
function page_head(string $title): void {
?><!DOCTYPE html>
<html lang="en">
<head>
<title><?=$title?> | Feed Reader Central</title>
</head>
<body><?php
}
/**
* Render the end of the page
*/
function page_foot(): void {
?></body></html><?php
}