@@ -40,6 +40,8 @@ $app->get('/blog/{slug}', function (Request $request, Response $response, array | |||
$response->getBody()->write("<html><head></head><body>"); | |||
addNavbar($response); | |||
$title = $args['slug']; | |||
$response->getBody()->write("<h1>$title</h1>"); | |||
addFooter($response); | |||
return $response; |