commit f620e7c41680bd21f05a7e4ae367a66c9284ae00
parent 0f4316a3f028fbe97d94fcadf2c286d292fa0009
Author: Overseer <overseer@mona.qualityreto.net>
Date: Sat, 24 Feb 2018 01:07:51 -0600
Removed unnecessary files
Diffstat:
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/header.php b/header.php
@@ -1,5 +0,0 @@
-<?php
-$nav = build_nav( $pages );
-$title = set_title();
-write_html( file_get_contents( "html/header.html" ), $title, $blogDir, $nav );
-?>
diff --git a/index.php b/index.php
@@ -50,7 +50,7 @@ sort( $pages );
// Build the header
$headerHtml = "templates/header.html";
-include( "header.php" );
+write_html( file_get_contents( "html/header.html" ), set_title(), $blogDir, build_nav( $pages ) );
$parsedown = new Parsedown();
if( isset( $_GET['page'] ) ) {