From 85ca1aa8663ccbcebb3553e4e008c2b86e5f3c62 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Tue, 30 Apr 2019 14:20:05 -0500 Subject: [PATCH] news and updates for blog --- index.php | 4 ++-- views/blog.php | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 views/blog.php diff --git a/index.php b/index.php index a2fa426..fbc5d9d 100644 --- a/index.php +++ b/index.php @@ -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'; }); diff --git a/views/blog.php b/views/blog.php new file mode 100644 index 0000000..66f5a77 --- /dev/null +++ b/views/blog.php @@ -0,0 +1,11 @@ + +
+ +
+
+
+
+
\ No newline at end of file