Allow to specify homepage banner via ENV. Otherwise the content of the file config/banner.md is used.

This commit is contained in:
Jan Böhmer 2019-10-19 23:20:19 +02:00
parent 5042d5720a
commit 896299bc4d
4 changed files with 36 additions and 2 deletions

3
config/banner.md Normal file
View 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>