multiple template engines causes errors in _data #653
Answered
by
writeblankspace
writeblankspace
asked this question in
Q&A
-
I'm following this: https://lume.land/docs/core/multiple-template-engines/
For some reason this causes an error that doesn't tell me where I went wrong:
Doing this in the frontmatter works as expected, but not in a |
Beta Was this translation helpful? Give feedback.
Answered by
writeblankspace
Aug 15, 2024
Replies: 1 comment 4 replies
-
Nevermind, I was able to set it in site.preprocess([".md"], (pages) => {
for (const page of pages) {
page.data.templateEngine = ["vto", "md"]
}
}); |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
writeblankspace
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind, I was able to set it in
_config.ts
to make sure only.md
files are processed: