'🌱', 4 => '🌱', 5 => '🌱', 6 => '☀️', 7 => '☀️', 8 => '☀️', 9 => '🍁', 10 => '🍁', 11 => '🍁', 12 => '🎄', 1 => '❄️', 2 => '❄️', ][$month]; } return $fields; }, $files); if (file_exists('../posts/blog-description.md')) { $blogDescription = file_get_contents("../posts/blog-description.md"); $converter = new CommonMarkConverter(); $blogDescription = $converter->convertToHtml($blogDescription); } else { $blogDescription = NULL; } require_once "../templates/home.php"; return; } else { $postName = basename($path); if (!file_exists("../posts/$postName.post.md")) { header('HTTP/1.1 404 Not Found'); ?>