From de9bbfdb8f0d3b366e76a5cc775690f7315c740f Mon Sep 17 00:00:00 2001
From: 53hornet <atc@53hor.net>
Date: Fri, 10 Dec 2021 23:17:42 -0500
Subject: feat: custom routing, no required php in posts

---
 includes/head.php | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

(limited to 'includes/head.php')

diff --git a/includes/head.php b/includes/head.php
index ba16fb0..4b95e2f 100644
--- a/includes/head.php
+++ b/includes/head.php
@@ -200,13 +200,6 @@
 <body>
 
 	<?php
-	if (!isset($nav) || $nav) {
-		include('nav.php');
-	}
+	include('nav.php');
 	?>
 	<article>
-		<?php
-		if (isset($title)) {
-			printf('<h1>%s</h1>', $title);
-		}
-		?>
-- 
cgit v1.2.3