diff --git a/packages/framework/src/Framework/Features/Publications/Models/PublicationListPage.php b/packages/framework/src/Framework/Features/Publications/Models/PublicationListPage.php index 194666f7f19..ce2b0a311f9 100644 --- a/packages/framework/src/Framework/Features/Publications/Models/PublicationListPage.php +++ b/packages/framework/src/Framework/Features/Publications/Models/PublicationListPage.php @@ -8,6 +8,7 @@ use Hyde\Framework\Features\Publications\PublicationService; use Hyde\Hyde; use Hyde\Pages\BladePage; +use Hyde\Support\Contracts\DynamicPage; use Illuminate\Support\Facades\Blade; use InvalidArgumentException; use function str_contains; @@ -17,7 +18,7 @@ * @see \Hyde\Pages\PublicationPage * @see \Hyde\Framework\Testing\Feature\PublicationListPageTest */ -class PublicationListPage extends BladePage +class PublicationListPage extends BladePage implements DynamicPage { public static string $sourceDirectory = '__publications'; public static string $outputDirectory = ''; diff --git a/packages/framework/src/Support/Contracts/DynamicPage.php b/packages/framework/src/Support/Contracts/DynamicPage.php new file mode 100644 index 00000000000..1a354c4f85c --- /dev/null +++ b/packages/framework/src/Support/Contracts/DynamicPage.php @@ -0,0 +1,13 @@ +