Made a config.php.example
This commit is contained in:
parent
04c3d209ad
commit
2af64685d7
2 changed files with 35 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,5 +10,5 @@ npm-debug.log
|
|||
/build_production/
|
||||
/build_staging/
|
||||
/source/assets/
|
||||
|
||||
!/source/assets/images/example.jpg
|
||||
/config.php
|
||||
|
|
34
config.php.example
Normal file
34
config.php.example
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'production' => false,
|
||||
'baseUrl' => '',
|
||||
'title' => 'Socialtree',
|
||||
'author' => 'Nikurasu',
|
||||
'design' => 'main',
|
||||
'description' => 'A simple website to display links to social media accounts',
|
||||
'collections' => [],
|
||||
'imageName' => 'example.jpg',
|
||||
'links' => [
|
||||
[
|
||||
'color' => 'youtube',
|
||||
'link' => 'https://youtube.com',
|
||||
'text' => 'Hier klicken',
|
||||
'platform' => 'youtube'
|
||||
],
|
||||
[
|
||||
'color' => 'youtube',
|
||||
'link' => 'https://twitter.com',
|
||||
'platform' => 'twitter'
|
||||
],
|
||||
[
|
||||
'link' => 'https://deviantart.com',
|
||||
'platform' => 'twitter',
|
||||
'text' => 'Ein Link'
|
||||
],
|
||||
[
|
||||
'link' => 'https://twitter.com',
|
||||
'platform' => 'mastodon'
|
||||
]
|
||||
],
|
||||
];
|
Reference in a new issue