Improve MisskeyPages
This commit is contained in:
parent
2fdec27ab0
commit
2d1f50303d
21 changed files with 248 additions and 176 deletions
|
|
@ -26,6 +26,12 @@ export function collectPageVars(content) {
|
|||
type: 'boolean',
|
||||
value: x.default || false
|
||||
});
|
||||
} else if (x.type === 'counter') {
|
||||
pageVars.push({
|
||||
name: x.name,
|
||||
type: 'number',
|
||||
value: 0
|
||||
});
|
||||
} else if (x.children) {
|
||||
collect(x.children);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue