From f121600f221024adc58369f3b3bf27cf37736555 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 9 Apr 2024 15:13:38 +0000 Subject: [PATCH] Merge pull request #1650 from hydephp/introduce-a-new-feature-enum Introduce a new Feature enum to improve the Features facade https://github.com/hydephp/develop/commit/d5f410d91c840e139d33f9ff1dc1e14e20b5b6f5 --- config/hyde.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config/hyde.php b/config/hyde.php index 9cbbe1c..333ba70 100644 --- a/config/hyde.php +++ b/config/hyde.php @@ -23,7 +23,7 @@ */ use Hyde\Facades\Author; -use Hyde\Facades\Features; +use Hyde\Enums\Feature; use Hyde\Facades\Meta; return [ @@ -254,18 +254,18 @@ 'features' => [ // Page Modules - Features::htmlPages(), - Features::markdownPosts(), - Features::bladePages(), - Features::markdownPages(), - Features::documentationPages(), + Feature::HtmlPages, + Feature::MarkdownPosts, + Feature::BladePages, + Feature::MarkdownPages, + Feature::DocumentationPages, // Frontend Features - Features::darkmode(), - Features::documentationSearch(), + Feature::Darkmode, + Feature::DocumentationSearch, // Integrations - Features::torchlight(), + Feature::Torchlight, ], /*