Skip to content

Commit

Permalink
Add front matter placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 9, 2024
1 parent 5270305 commit ccf35e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Filament/Pages/Experiments/GitHubPostCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ protected function assembleFrontMatter(): string
'---',
sprintf("title: '%s'", $this->postTitle),
sprintf("date: '%s'", now()->format('Y-m-d H:i:s')),
'# description: Your description here',
'# category: Uncategorized',
'# author: YourName',
'---',
]);
}
Expand Down

0 comments on commit ccf35e7

Please sign in to comment.