From 5bad12334d9032005b3468b3f523688964c31d50 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sun, 22 Mar 2026 22:49:10 +0100 Subject: Moved the blog and all of its adjacent things from ./blog to src/Pages/blog --- blog/blog.php | 109 ---------------------------------------------------------- 1 file changed, 109 deletions(-) delete mode 100644 blog/blog.php (limited to 'blog/blog.php') diff --git a/blog/blog.php b/blog/blog.php deleted file mode 100644 index f944c2e..0000000 --- a/blog/blog.php +++ /dev/null @@ -1,109 +0,0 @@ -text($markdown); - } else { - // Fallback to list if slug not found - $postParam = null; - } -} - -// If no valid post requested → show list of all posts -if (!$postParam) { - $files = array_reverse(glob($postsDir . '*.md')); // newest first - $content = ""; - $title = "Blog"; -} -?> - - - - - -<?= htmlspecialchars($title) ?> - - - - - -
-

-
- -
-
-

© 256phi | 2026 | Home

-
-
- - - -- cgit v1.2.3