Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
targets['community.html'] = function (file) {
Jade.renderFile(Path.join(templatesPath, 'community.jade'), require('./lib/community'), writeFile(file));
};
targets['hapidays.html'] = function (file) {
Jade.renderFile(Path.join(templatesPath, 'hapidays.jade'), writeFile(file));
};
targets['help.html'] = function (file) {
Jade.renderFile(Path.join(templatesPath, 'help.jade'), writeFile(file));
};
targets['updates.html'] = function (file) {
var locals = require('./lib/locals');
locals.changelog = require('./.cache/changelog.json');
Jade.renderFile(Path.join(templatesPath, 'updates.jade'), locals, writeFile(file));
};
targets['plugins.html'] = function (file) {
var Plugins = require('./lib/plugins');
Jade.renderFile(Path.join(templatesPath, 'plugins.jade'), Plugins, writeFile(file));
};
targets['404.html'] = function (file) {
Jade.renderFile(Path.join(templatesPath, '404.jade'), writeFile(file));