This commit is contained in:
Zef Hemel
2023-11-13 10:32:40 +01:00
parent 95301a41ff
commit 1d7dc04f54
3 changed files with 12 additions and 13 deletions
-1
View File
@@ -23,7 +23,6 @@ export async function renderTemplate(
removeTags: ["template"],
});
templateText = renderToText(tree).trimStart();
// console.log(`Trimmed template: |${templateText}|`);
// If a 'frontmatter' key was specified in the frontmatter, use that as the frontmatter
if (frontmatter.frontmatter) {
if (typeof frontmatter.frontmatter === "string") {