"a",
"og:site_name" => SITE_CONFIG["site"]["name"],
"og:url" => "https://polygon.pizzaboxer.xyz",
"og:description" => "yeah its a website about shapes and squares and triangles and stuff and ummmmm",
"og:image" => "",
"containerWidth" => "w-100",
"includeNav" => true
];
static function buildHeader()
{
global $pdo;
$announcements = $pdo->query("SELECT * FROM announcements WHERE activated ORDER BY id DESC");
$markdown = new Parsedown();
$markdown->setMarkupEscaped(true);
$markdown->setBreaksEnabled(true);
$markdown->setSafeMode(true);
$markdown->setUrlsLinked(true);
ob_start();
?>
["name" => "Page Not Found", "text" => "the page you are looking for does not exist check that there's no mistakes in the url"],
403 => ["name" => "Forbidden", "text" => "you cannot access this page"],
420 => ["name" => "Page Under Construction", "text" => "this page is under construction and is only accessible to admins for now check back later *obviously not a real code lol but i had to put something"]
];
self::buildHeader();
?>