feat: mds
This commit is contained in:
1
mds/index.html
Symbolic link
1
mds/index.html
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
mds.html
|
||||||
11
mds/mds.html
11
mds/mds.html
@@ -81,6 +81,17 @@
|
|||||||
var retObject = {};
|
var retObject = {};
|
||||||
async function refreshNotes() {
|
async function refreshNotes() {
|
||||||
retObject.entries = (await fetch_with_get_as_json('mds.json', {}, true)).entries;
|
retObject.entries = (await fetch_with_get_as_json('mds.json', {}, true)).entries;
|
||||||
|
retObject.entries.sort((a, b) => {
|
||||||
|
let aa = a.metadataStatement.description.toLowerCase();
|
||||||
|
let bb = b.metadataStatement.description.toLowerCase();
|
||||||
|
if (aa == bb) {
|
||||||
|
return 0;
|
||||||
|
} else if (aa < bb) {
|
||||||
|
return -1;
|
||||||
|
} else {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
async function initVueApp() {
|
async function initVueApp() {
|
||||||
await refreshNotes();
|
await refreshNotes();
|
||||||
|
|||||||
3
mds/site.json
Normal file
3
mds/site.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"path":"mds"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user