Skip to content

Commit

Permalink
Merge pull request #250 from hydephp/develop
Browse files Browse the repository at this point in the history
Update configuration to use the new Feature enum
  • Loading branch information
caendesilva authored Apr 12, 2024
2 parents bf1cf08 + e9deace commit 284cf16
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions app/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
'DocumentationPage' => \Hyde\Pages\DocumentationPage::class,
'DataCollections' => \Hyde\Support\DataCollections::class,
'Includes' => \Hyde\Support\Includes::class,
'Feature' => \Hyde\Enums\Feature::class,
],

];
18 changes: 9 additions & 9 deletions config/hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

use Hyde\Facades\Author;
use Hyde\Facades\Features;
use Hyde\Enums\Feature;
use Hyde\Facades\Meta;

return [
Expand Down Expand Up @@ -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,
],

/*
Expand Down

0 comments on commit 284cf16

Please sign in to comment.