Skip to content

Commit b3153e1

Browse files
committed
Fixed syntax errors & inconsistencies
1 parent 8635375 commit b3153e1

1 file changed

Lines changed: 20 additions & 21 deletions

File tree

examples/static-site/index.js

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
var 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

76
Metalsmith(__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+
});

0 commit comments

Comments
 (0)