Skip to content

Commit

Permalink
Merge pull request #1650 from hydephp/introduce-a-new-feature-enum
Browse files Browse the repository at this point in the history
Introduce a new Feature enum to improve the Features facade hydephp/develop@d5f410d
  • Loading branch information
github-actions committed Apr 9, 2024
1 parent 80c3ee4 commit f121600
Showing 1 changed file with 9 additions and 9 deletions.
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 f121600

Please sign in to comment.