You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
826 B

10 years ago
var path = require('path');
10 years ago
var package = require('./package');
10 years ago
// {{ settings for nico
10 years ago
exports.site = {
10 years ago
name: package.title,
10 years ago
description: package.description,
repo: package.repository.url,
issues: package.bugs.url
10 years ago
};
exports.theme = 'site';
10 years ago
exports.source = process.cwd();
exports.output = path.join(process.cwd(), '_site');
exports.permalink = '{{directory}}/{{filename}}';
exports.ignorefilter = function(filepath, subdir) {
var extname = path.extname(filepath);
if (extname === '.tmp' || extname === '.bak') {
return false;
}
if (/\.DS_Store/.test(filepath)) {
return false;
}
if (/^(_site|_theme|node_modules|\.idea)/.test(subdir)) {
return false;
}
return true;
};
exports.writers = [
'nico-jsx.PageWriter',
'nico-jsx.StaticWriter',
'nico-jsx.FileWriter'
10 years ago
];
// end settings }}