Skip to content

Commit

Permalink
Merge pull request #1531 from hydephp/improve-media-asset-handling
Browse files Browse the repository at this point in the history
Add media extensions option to default config hydephp/develop@56f18dc
  • Loading branch information
github-actions committed Feb 7, 2024
1 parent 182217c commit 2bf3711
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 2bf3711

Please sign in to comment.