fix: serve quartz with clean URL support and regenerate site
- 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
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import isObject from './isObject.js';
|
||||
import isArray from './isArray.js';
|
||||
import extend from './extend.js';
|
||||
|
||||
// Create a (shallow-cloned) duplicate of an object.
|
||||
export default function clone(obj) {
|
||||
if (!isObject(obj)) return obj;
|
||||
return isArray(obj) ? obj.slice() : extend({}, obj);
|
||||
}
|
||||
Reference in New Issue
Block a user