mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-28 22:08:17 +02:00
Allow to specify homepage banner via ENV. Otherwise the content of the file config/banner.md is used.
This commit is contained in:
parent
5042d5720a
commit
896299bc4d
4 changed files with 36 additions and 2 deletions
3
config/banner.md
Normal file
3
config/banner.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
Welcome to Part-DB.
|
||||
|
||||
<small>If you want to change this banner, edit `config/banner.md` file or set the `BANNER` environment variable.</small>
|
|
@ -8,7 +8,7 @@ parameters:
|
|||
locale: 'en' # Set the default language to use her
|
||||
timezone: 'Europe/Berlin'
|
||||
partdb_title: 'Part-DB' # The title shown inside of Part-DB (e.g. in the navbar and on homepage)
|
||||
banner: '' # The info text shown in the homepage
|
||||
banner: '%env(trim:string:BANNER)%' # The info text shown in the homepage, if empty config/banner.md is used
|
||||
use_gravatar: true # Set to false, if no Gravatar images should be used for user profiles.
|
||||
default_currency: 'EUR' # The currency that should be used
|
||||
media_directory: 'public/media/' # The folder where uploaded attachment files are saved
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue