Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add media extensions option to default config #242

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading