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:
+15
@@ -0,0 +1,15 @@
|
||||
import max from './max.js';
|
||||
import getLength from './_getLength.js';
|
||||
import pluck from './pluck.js';
|
||||
|
||||
// Complement of zip. Unzip accepts an array of arrays and groups
|
||||
// each array's elements on shared indices.
|
||||
export default 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;
|
||||
}
|
||||
Reference in New Issue
Block a user