Fixes #343
parent
c0128b1090
commit
3e112689a9
|
@ -36,6 +36,13 @@ export async function instantiateTemplateCommand() {
|
||||||
"$disableDirectives",
|
"$disableDirectives",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
if (additionalPageMeta.$name) {
|
||||||
|
additionalPageMeta.$name = replaceTemplateVars(
|
||||||
|
additionalPageMeta.$name,
|
||||||
|
"",
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
const pageName = await editor.prompt(
|
const pageName = await editor.prompt(
|
||||||
"Name of new page",
|
"Name of new page",
|
||||||
additionalPageMeta.$name,
|
additionalPageMeta.$name,
|
||||||
|
|
Loading…
Reference in New Issue