diff --git a/flextype/parsers/FrontmatterParser.php b/flextype/parsers/FrontmatterParser.php index 492a3136..74b208b1 100644 --- a/flextype/parsers/FrontmatterParser.php +++ b/flextype/parsers/FrontmatterParser.php @@ -41,7 +41,7 @@ class FrontmatterParser public static function encode($input) : string { - if ($input['content']) { + if (isset($input['content'])) { $content = $input['content']; Arr::delete($input, 'content'); $matter = YamlParser::encode($input);