-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsite.js
65 lines (65 loc) · 1.54 KB
/
site.js
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
module.exports = {
"vendor": [],
"scripts": {},
"styles": {
"prefix": ["> 1%", "last 2 versions", "IE >= 9"],
"include": []
},
"metalsmith": {
"metadata": {
"site": {
"url": "https://github.com/evocode/metalsmith-base"
}
},
"config": {
"contentRoot": "./content",
"assetRoot": "./sources",
"scriptRoot": "./scripts",
"styleRoot": "./styles",
"layoutRoot": "./layouts",
"destRoot": "./build"
},
"plugins": {
"metalsmith-drafts": {},
"metalsmith-markdown": {
"smartypants": true,
"smartLists": true,
"gfm": true,
"tables": true
},
"metalsmith-excerpts": {},
"metalsmith-permalinks": {
"pattern": ":collection/:title"
},
"metalsmith-collections": {
"blog": {
"sortBy": "date",
"reverse": true
}
},
"metalsmith-pagination": {
"collections.blog": {
"perPage": 6,
"layout": "blog.html",
"first": "blog/index.html",
"noPageOne": true,
"path": "blog/:num/index.html"
}
},
"metalsmith-layouts": {
"engine": "handlebars",
"directory": "./layouts",
"partials": "./layouts/partials"
},
"metalsmith-assets": {
"source": "./sources",
"destination": "./"
},
"metalsmith-html-minifier": {
"_metalsmith_if": "production",
"removeAttributeQuotes": false,
"keepClosingSlash": true
}
}
}
}