Last active
July 5, 2017 03:03
-
-
Save tech4him1/291063215dfc7053e155390a572d3acf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Metalsmith = require('metalsmith') | |
var inPlace = require('metalsmith-in-place') | |
//`jstransformer-handlebars` needs installed, but not `require`d. | |
var bubbleGumHelper = function(){ | |
return "bubblegum-bubblegum-bubblegum"; | |
}; | |
Metalsmith(__dirname) | |
.use(inPlace({ | |
engineOptions: { | |
helpers: { | |
"bubblegum": bubbleGumHelper | |
} | |
} | |
})) | |
.build(function(err){ | |
if (err) throw err; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment