diff --git a/index.php b/index.php index 0750971..949a817 100644 --- a/index.php +++ b/index.php @@ -114,14 +114,6 @@ if ($match['name'] == 'blog') { $variables['title'] = 'Blog — '.$basetitle; } -// If we are dealing with a blog post -if ($match['name'] == 'blog_post') { - $variables['params']['slug'] = $match['params']['slug']; - $variables['post'] = getBlogPosts($variables['params']); - $variables['post'] = $variables['post'][0]; - $variables['title'] = htmlspecialchars_decode(str_replace('·','·',$variables['post']['title'])).' — '.$basetitle; -} - // If we are dealing with the notes if ($match['name'] == 'notes') { $variables['posts'] = getNotes($variables['params']);