diff --git a/packages/framework/src/Pages/MarkdownPage.php b/packages/framework/src/Pages/MarkdownPage.php index d7320f865b2..541068b6dd7 100644 --- a/packages/framework/src/Pages/MarkdownPage.php +++ b/packages/framework/src/Pages/MarkdownPage.php @@ -19,4 +19,9 @@ class MarkdownPage extends BaseMarkdownPage public static string $sourceDirectory = '_pages'; public static string $outputDirectory = ''; public static string $template = 'hyde::layouts/page'; + + public function getBladeView(): string + { + return $this->matter->get('extends') ?? parent::getBladeView(); + } }