- 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
10 lines
273 B
JavaScript
10 lines
273 B
JavaScript
import _ from './underscore.js';
|
|
import isArray from './isArray.js';
|
|
|
|
// Normalize a (deep) property `path` to array.
|
|
// Like `_.iteratee`, this function can be customized.
|
|
export default function toPath(path) {
|
|
return isArray(path) ? path : [path];
|
|
}
|
|
_.toPath = toPath;
|