-
Notifications
You must be signed in to change notification settings - Fork 0
/
metalsmith.json
93 lines (93 loc) · 2.12 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"source": ".",
"destination": "./_site/docsmith-init",
"ignore": [
"node_modules",
"_site_jekyll",
"_site_metalsmith",
".git",
".gitignore",
".ruby-version",
".travis.yml",
"Gemfile",
"Gemfile.lock",
"package.json",
"metalsmith.json",
"metalsmith.tmp.json",
"_site",
"_content.yml",
"_includes",
"_layouts",
"_sass",
"css",
"LICENSE",
"README.md"
],
"metadata": {},
"plugins": {
"metalsmith-static": {
"src": "public",
"dest": "public"
},
"metalsmith-metadata": {
"site": "_config.yml"
},
"metalsmith-ignore": [
"_config.yml",
"public/**/*.*"
],
"metalsmith-drafts": {},
"metalsmith-paths": {
"property": "paths",
"directoryIndex": "index.html"
},
"metalsmith-collections": {
"pages": {
"pattern": "!_posts/**/*!(.xml|.png|.css|.ico)"
},
"posts": {
"pattern": "_posts/*.md",
"sortBy": "date",
"reverse": true
}
},
"metalsmith-in-place": {
"engine": "liquid",
"includeDir": "_includes",
"pattern": [ "**/*.md", "**/*.xml", "**/*.html" ]
},
"metalsmith-pandoc": {
"pattern": "**/*.md",
"from": "markdown_github+definition_lists+markdown_in_html_blocks"
},
"metalsmith-debug": {},
"metalsmith-metacopy": {
"file": [
{ "src": "paths.href", "dest": "url" },
{ "src": "paths.name", "dest": "basename" },
{ "src": "contents", "dest": "content" }
],
"metadata": [
{ "src": "collections", "dest": "site" }
]
},
"metalsmith-permalinks": {
"linksets": [{
"match": { "collection": "pages" },
"pattern": ":path"
},{
"match": { "collection": "posts" },
"pattern": ":basename/:title"
}]
},
"metalsmith-layouts": {
"engine": "liquid",
"directory": "_layouts",
"pattern": "**/*.html",
"rename": true,
"default": "default.html",
"includeDir": "_includes",
"ext": ".html"
}
}
}