-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
51 lines (50 loc) · 1.44 KB
/
config.php
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
return [
'production' => false,
'baseUrl' => 'https://artisanstatic.netlify.app',
'site' => [
'title' => 'My Jigsaw Blog',
'description' => 'Personal blog of John Doe.',
'image' => 'default-share.png',
],
'owner' => [
'name' => 'John Doe',
'twitter' => 'johndoe',
'github' => 'johndoe',
],
'services' => [
'cmsVersion' => '2.10.67',
'analytics' => 'UA-XXXXX-Y',
'disqus' => 'artisanstatic',
'formcarry' => 'XXXXXXXXXXXX',
'cloudinary' => [
'cloudName' => 'artisanstatic',
'apiKey' => '365895137117119',
],
],
'collections' => [
'posts' => [
'path' => 'posts/{filename}',
'sort' => '-date',
'extends' => '_layouts.post',
'section' => 'postContent',
'isPost' => true,
'comments' => true,
'tags' => [],
'hasTag' => function ($page, $tag) {
return collect($page->tags)->contains($tag);
},
'prettyDate' => function ($page, $format = 'M j, Y') {
return date($format, $page->date);
},
],
'tags' => [
'path' => 'tags/{filename}',
'extends' => '_layouts.tag',
'section' => '',
'name' => function ($page) {
return $page->getFilename();
},
],
],
];