Skip to content

Commit a412d1a

Browse files
committed
Fix make:entry command frontmatter format
1 parent c3e2cb9 commit a412d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Make/MakeEntryCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
4444

4545
$data = ['title' => $title ?: $id];
4646
$yaml = Yaml::dump($data);
47-
$content = "$yaml\n---\n";
47+
$content = "---\n$yaml---\n";
4848

4949
file_put_contents(content_path() . "/{$collection}/{$id}.md", $content);
5050

0 commit comments

Comments
 (0)