forked from tighten/builtwithjigsaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
28 lines (27 loc) · 801 Bytes
/
config.php
File metadata and controls
28 lines (27 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
return [
'baseUrl' => 'http://builtwithjigsaw.test',
'production' => false,
'collections' => [
'sites' => [
'path' => 'sites',
'sort' => '-added',
'image' => function ($site) {
$imagePath = '/assets/images/sites/' . $site->_meta->filename . '.png';
return file_exists(getcwd() . '/source' . $imagePath) ? $imagePath : '/assets/images/blank-site.png';
}
],
'articles' => [
'path' => 'articles',
'sort' => '-published',
],
],
'typeColors' => [
'blog' => '#3f7703',
'company' => '#874ec5',
'docs' => '#bb5b04',
'meetup' => '#c10000',
'personal' => '#226bb1',
'project' => '#026773',
],
];