diff --git a/src/Commands/Make/MakeEntryCommand.php b/src/Commands/Make/MakeEntryCommand.php index 8352495..550e4bc 100644 --- a/src/Commands/Make/MakeEntryCommand.php +++ b/src/Commands/Make/MakeEntryCommand.php @@ -44,7 +44,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $data = ['title' => $title ?: $id]; $yaml = Yaml::dump($data); - $content = "$yaml\n---\n"; + $content = "---\n$yaml---\n"; file_put_contents(content_path() . "/{$collection}/{$id}.md", $content);