-
Notifications
You must be signed in to change notification settings - Fork 1
/
metalsmith.json
66 lines (53 loc) · 1.52 KB
/
metalsmith.json
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
66
{
"source": "src/documents",
"destination": "build",
"metadata": {},
"plugins": [
{"@metalsmith/metadata": {
"nav_bar":"src/documents/config/menu.json"
,"site":"src/documents/config/site.json"
,"sidebar":"src/documents/config/sidebar.json"
}}
,{"metalsmith-assets-improved": {"src":"src/files"}}
,{"@metalsmith/collections": {
"recent_posts": {"pattern": "posts/*.md", "sortBy":"date", "limit": 10, "reverse": true, "refer": false},
"posts": {"sortBy":"date", "reverse": true}
}}
,{"metalsmith-pagination": {
"collections.posts": {
"perPage": 20,
"layout": "post_pagination_index.pug",
"first": "posts/index.html",
"noPageOne": true,
"path": "posts/:num/index.html",
"pageMetadata": {
"title": "Archive"
}
}
}}
,{"metalsmith-paths": true }
,{"metalsmith-taxonomy":{
"pattern": "**/*.md",
"namespace": "posts",
"pages": ["term"],
"taxonomies": ["tags"]
}}
,{"metalsmith-filemetadata": [
{
"pattern": "posts/tags/**/*.html",
"metadata": { "layout": "tag_index.pug" }
},
{
"pattern": "posts/**/*.md",
"metadata": { "layout": "post.pug" }
}
]}
,{"./custom_lib/debug.js":true}
,{"@metalsmith/in-place": true}
,{"metalsmith-prism": {
"lineNumbers": true,
"decode": true
}}
,{"@metalsmith/layouts": {"directory":"src/templates"}}
]
}