File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const collections = require('metalsmith-collections');
8
8
const linkcheck = require ( 'metalsmith-linkcheck' ) ;
9
9
const dates = require ( 'metalsmith-jekyll-dates' ) ;
10
10
const sitemap = require ( 'metalsmith-sitemap' ) ;
11
- const assets = require ( 'metalsmith-assets ' ) ;
11
+ const static = require ( 'metalsmith-static ' ) ;
12
12
const gzip = require ( 'metalsmith-gzip' ) ;
13
13
const minify = require ( 'metalsmith-html-minifier' ) ;
14
14
const watch = require ( 'metalsmith-watch' ) ;
@@ -176,8 +176,9 @@ Metalsmith(cwd)
176
176
ext : '.html'
177
177
} ) )
178
178
// include our static assets
179
- . use ( assets ( {
180
- source : './static'
179
+ . use ( static ( {
180
+ src : './static' ,
181
+ dest : '.'
181
182
} ) )
182
183
// finally check if we have broken links
183
184
. use ( linkcheck ( {
Original file line number Diff line number Diff line change 23
23
"jstransformer-ejs" : " 0.0.3" ,
24
24
"marked" : " ^0.3.9" ,
25
25
"metalsmith" : " ^2.3.0" ,
26
- "metalsmith-assets" : " ^0.1.0" ,
27
26
"metalsmith-collections" : " ^0.9.0" ,
28
27
"metalsmith-gzip" : " ^1.1.0" ,
29
28
"metalsmith-html-minifier" : " ^3.0.0" ,
35
34
"metalsmith-multi-language" : " ^0.3.0" ,
36
35
"metalsmith-permalinks" : " ^0.5.0" ,
37
36
"metalsmith-sitemap" : " ^1.2.0" ,
37
+ "metalsmith-static" : " ^0.0.5" ,
38
38
"metalsmith-watch" : " ^1.0.3" ,
39
39
"mkdirp" : " ^0.5.1" ,
40
40
"moment" : " ^2.20.1" ,
You can’t perform that action at this time.
0 commit comments