ulka-source-ejs
v1.2.0
Published
Plugin for ulka to generate html from ejs files
Downloads
3
Readme
ulka-source-ejs
Plugin for ulka static site genrator to generate html from ejs files.
Installation
npm install ulka-source-ejs
Add ulka-source-ejs
to plugins array in ulka-config.js
// ulka-config.js
module.exports = {
...
plugins: [
...
"ulka-source-ejs",
],
}
Customization
To customize ulka-source-ejs
, you need to pass plugin as object to plugins array.
// ulka-config.js
module.exports = {
...
plugins: [
...
{
resolve: "ulka-source-ejs",
options: {
ejsOptions: {
// options accepted by ejs (filename and context options are ignored here)
}
}
},
],
}