Issue #66: Allow for background blur of 0

This commit is contained in:
Dale Davies
2023-03-01 14:59:23 +00:00
parent 9ec81c67e8
commit 4e7ac32508

View File

@@ -41,9 +41,9 @@ return [
'noindex' => getenv('NOINDEX') ?: true,
// Background blur percentage.
'bgblur' => getenv('BGBLUR') ?: '70',
'bgblur' => (getenv('BGBLUR') !== false) ? getenv('BGBLUR') : '70',
// Background brightness percentage.
'bgbright' => getenv('BGBRIGHT') ?: '85',
'bgbright' => (getenv('BGBRIGHT') !== false) ? getenv('BGBRIGHT') : '85',
// Unsplash API key, when added will use Unsplash background images.
'unsplashapikey' => getenv('UNSPLASHAPIKEY') ?: false,
// Unsplash collection name to pick random image from.