blog route

This commit is contained in:
Chris Smith
2019-04-30 14:01:13 -05:00
parent f4d6d6749b
commit 85fb400ee5

View File

@@ -315,6 +315,12 @@ $router->get('/manage/{uuid}', function ($uuid) {
include 'views/common/footer.php';
});
$router->get('/blog/{title}', function ($title) {
include 'views/common/head.php';
include 'views/blog/' . $title . '.php';
include 'views/common/footer.php';
});
$router->get('/guest/{uuid}', function ($uuid) {
$guest = R::findOne('guests', ' uuid = ?', [$uuid]);
include 'views/common/head.php';