Made a config.php.example

This commit is contained in:
Nikurasu 2022-04-30 22:41:25 +02:00
parent 04c3d209ad
commit 2af64685d7
2 changed files with 35 additions and 1 deletions

2
.gitignore vendored
View File

@ -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
View 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'
]
],
];