news and updates for blog

This commit is contained in:
Chris Smith
2019-04-30 14:20:05 -05:00
parent 85fb400ee5
commit 85ca1aa866
2 changed files with 13 additions and 2 deletions

View File

@@ -315,9 +315,9 @@ $router->get('/manage/{uuid}', function ($uuid) {
include 'views/common/footer.php';
});
$router->get('/blog/{title}', function ($title) {
$router->get('/blog', function () {
include 'views/common/head.php';
include 'views/blog/' . $title . '.php';
include 'views/blog.php';
include 'views/common/footer.php';
});