Skip to content

Commit

Permalink
Fix make:entry command frontmatter format
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbitron committed Oct 27, 2020
1 parent c3e2cb9 commit a412d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Make/MakeEntryCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a412d1a

Please sign in to comment.