Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnokia committed Mar 23, 2024
1 parent 2c2c20e commit ddc0cd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Commands/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public function handle(): int

protected function buildItem(Content $item, MarkdownRenderer $renderer): void
{
$this->info('Building ' . $item->path . '...');

$directory = getcwd() . '/public/' . ($item->url() === '/' ? 'index.html' : ($item->url() . '/index.html'));

if (!is_dir(dirname($directory))) {
Expand Down

0 comments on commit ddc0cd0

Please sign in to comment.