render('index.html'); break; case("/about"): echo $twig->render('about.html'); break; case("/projects"): echo $twig->render('projects.html'); break; case("/tools"): echo $twig->render('tools.html'); break; case("/tools/faces"): case("/tools/faces/"): echo $twig->render('tools/faces/index.html', [ "faces" => get_faces() ]); break; case("/tools/pizza"): case("/tools/pizza/"): echo $twig->render('tools/pizza/index.html'); break; case("/tools/untrack"): case("/tools/untrack/"): $_url = ""; if ( isset($_REQUEST['url']) ) { $_url = htmlspecialchars($_REQUEST['url']); } echo $twig->render('tools/untrack/index.html', [ "url" => $_url ]); break; default: http_response_code(404); echo $twig->render('404.html'); }