- Add serve.py to resolve clean Quartz URLs to .html files - Regenerate Quartz site with correct baseUrl http://100.118.5.51:9120 - 196 HTML files emitted; all internal links now resolve
9 lines
170 B
JavaScript
9 lines
170 B
JavaScript
var filter = require('./filter.js');
|
|
|
|
// Trim out all falsy values from an array.
|
|
function compact(array) {
|
|
return filter(array, Boolean);
|
|
}
|
|
|
|
module.exports = compact;
|