Skip to content

Commit

Permalink
Merge pull request #592 from hydephp/develop
Browse files Browse the repository at this point in the history
Add media extensions option to default config
  • Loading branch information
caendesilva authored Feb 7, 2024
2 parents c6ae7ab + 2bf3711 commit 68f2c9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,10 @@
|
*/

// Change the file extensions to be considered as media files and are copied to the output directory.
// If you want to add more extensions, add it to the empty merge array, or just override the entire array.
'media_extensions' => array_merge([], \Hyde\Support\Filesystem\MediaFile::EXTENSIONS),

// The list of directories that are considered to be safe to empty upon site build.
// If the site output directory is set to a directory that is not in this list,
// the build command will prompt for confirmation before emptying it.
Expand Down

0 comments on commit 68f2c9a

Please sign in to comment.