File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11var Metalsmith = require ( 'metalsmith' ) ;
2- markdown = require ( 'metalsmith-markdown' ) ;
3- layouts = require ( 'metalsmith-layouts' ) ;
4- permalinks = require ( 'metalsmith-permalinks' ) ,
5-
2+ var markdown = require ( 'metalsmith-markdown' ) ;
3+ var layouts = require ( 'metalsmith-layouts' ) ;
4+ var permalinks = require ( 'metalsmith-permalinks' ) ;
65
76Metalsmith ( __dirname )
8- . metadata ( {
9- title : "My Static Site & Blog" ,
10- description : "It's about saying »Hello« to the World." ,
11- generator : "Metalsmith" ,
12- url : "http://www.metalsmith.io/"
13- } )
14- . source ( './src' )
15- . destination ( './build' )
16- . clean ( false )
17- . use ( markdown ( ) )
18- . use ( permalinks ( ) )
19- . use ( layouts ( {
20- engine : 'handlebars' ,
21- } ) )
22- . build ( function ( err , files ) {
23- if ( err ) { throw err ; }
24- } ) ;
7+ . metadata ( {
8+ title : "My Static Site & Blog" ,
9+ description : "It's about saying »Hello« to the World." ,
10+ generator : "Metalsmith" ,
11+ url : "http://www.metalsmith.io/"
12+ } )
13+ . source ( './src' )
14+ . destination ( './build' )
15+ . clean ( false )
16+ . use ( markdown ( ) )
17+ . use ( permalinks ( ) )
18+ . use ( layouts ( {
19+ engine : 'handlebars'
20+ } ) )
21+ . build ( function ( err , files ) {
22+ if ( err ) { throw err ; }
23+ } ) ;
You can’t perform that action at this time.
0 commit comments