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:
+17
@@ -0,0 +1,17 @@
|
||||
define(['./max', './_getLength', './pluck'], function (max, _getLength, pluck) {
|
||||
|
||||
// Complement of zip. Unzip accepts an array of arrays and groups
|
||||
// each array's elements on shared indices.
|
||||
function unzip(array) {
|
||||
var length = (array && max(array, _getLength).length) || 0;
|
||||
var result = Array(length);
|
||||
|
||||
for (var index = 0; index < length; index++) {
|
||||
result[index] = pluck(array, index);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
return unzip;
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user