File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 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');
88const linkcheck = require ( 'metalsmith-linkcheck' ) ;
99const dates = require ( 'metalsmith-jekyll-dates' ) ;
1010const sitemap = require ( 'metalsmith-sitemap' ) ;
11- const assets = require ( 'metalsmith-assets ' ) ;
11+ const static = require ( 'metalsmith-static ' ) ;
1212const gzip = require ( 'metalsmith-gzip' ) ;
1313const minify = require ( 'metalsmith-html-minifier' ) ;
1414const watch = require ( 'metalsmith-watch' ) ;
@@ -176,8 +176,9 @@ Metalsmith(cwd)
176176 ext : '.html'
177177 } ) )
178178 // include our static assets
179- . use ( assets ( {
180- source : './static'
179+ . use ( static ( {
180+ src : './static' ,
181+ dest : '.'
181182 } ) )
182183 // finally check if we have broken links
183184 . use ( linkcheck ( {
Original file line number Diff line number Diff line change 2323 "jstransformer-ejs" : " 0.0.3" ,
2424 "marked" : " ^0.3.9" ,
2525 "metalsmith" : " ^2.3.0" ,
26- "metalsmith-assets" : " ^0.1.0" ,
2726 "metalsmith-collections" : " ^0.9.0" ,
2827 "metalsmith-gzip" : " ^1.1.0" ,
2928 "metalsmith-html-minifier" : " ^3.0.0" ,
3534 "metalsmith-multi-language" : " ^0.3.0" ,
3635 "metalsmith-permalinks" : " ^0.5.0" ,
3736 "metalsmith-sitemap" : " ^1.2.0" ,
37+ "metalsmith-static" : " ^0.0.5" ,
3838 "metalsmith-watch" : " ^1.0.3" ,
3939 "mkdirp" : " ^0.5.1" ,
4040 "moment" : " ^2.20.1" ,
You can’t perform that action at this time.
0 commit comments