Explorar el Código

basic blog post with title

main
Lennart Verschelden hace 2 años
padre
commit
601985a052
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      public/index.php

+ 2
- 0
public/index.php Ver fichero

@@ -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;

Cargando…
Cancelar
Guardar