-
Notifications
You must be signed in to change notification settings - Fork 0
/
metalsmith.json
89 lines (89 loc) · 2.25 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
{
"source": "content",
"destination": "build",
"metadata": {
"site": "Jordan Kasper",
"author": "Jordan Kasper",
"description": "So long and thanks for all the fish.",
"url": "https://jordankasper.com"
},
"plugins": {
"./plugins/metadata": {},
"@metalsmith/collections": {
"posts": {
"pattern": "content/posts/*.md",
"sortBy": "date",
"reverse": true
},
"presos": {
"pattern": "content/presos/**/*.html"
}
},
"metalsmith-pagination": {
"collections.posts": {
"perPage": 5,
"layout": "posts.hbs",
"first": "index.html",
"path": "page/:num/index.html",
"noPageOne": true
}
},
"metalsmith-markdown": {},
"./plugins/excerpt": {},
"@metalsmith/permalinks": {
"duplicates": "error",
"slug": {
"lowercase": true,
"replacement": "-",
"extend": { "(": "-", ")": "-", "'": "-", ".": "-" }
},
"linksets": [{
"match": { "collection": "posts" },
"pattern": ":title"
}]
},
"metalsmith-tags": {
"handle": "tags",
"path": "tag/:tag/index.html",
"layout": "tag.hbs",
"sortBy": "date",
"reverse": true
},
"./plugins/tagcloud": {
"key": "tags"
},
"./plugins/events": {},
"./plugins/recent-posts": {},
"metalsmith-date-formatter": {
"dates": [
{
"key": "date",
"format": "MMMM D, YYYY"
}
]
},
"metalsmith-discover-partials": {
"directory": "layouts/partials"
},
"@metalsmith/layouts": {
"directory": "layouts",
"default": "post.hbs",
"pattern": ["**/*.html", "**/*.md"]
},
"metalsmith-assets": {
"source": "./assets",
"destination": "./"
},
"./plugins/rss": {
"description": "Blog posts from Jordan Kasper",
"relative_image_path": "images/hobbes_small.png",
"categories": ["Software Development", "JavaScript", "Front End", "Technology", "Learning"]
},
"./plugins/copy": {
"locations": [
{ "from": "assets/static/", "to": "build/" },
{ "from": "node_modules/jquery/dist/jquery.min.js", "to": "build/js/vendor/jquery.min.js" }
]
}
}
}