This commit is contained in:
Zef Hemel
2023-11-13 15:49:21 +01:00
parent b9bc3b1298
commit 7fec3fe587
5 changed files with 53 additions and 19 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ export function renderTemplate(
templateText: string,
pageMeta: PageMeta,
data: any = {},
): Promise<string> {
): Promise<{ frontmatter?: string; text: string }> {
return system.invokeFunction(
"template.renderTemplate",
templateText,