Skip to content

multiple template engines causes errors in _data #653

Discussion options

You must be logged in to vote

Nevermind, I was able to set it in_config.ts to make sure only .md files are processed:

site.preprocess([".md"], (pages) => {
    for (const page of pages) {
        page.data.templateEngine = ["vto", "md"]
    }
});

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@oscarotero
Comment options

@oscarotero
Comment options

@writeblankspace
Comment options

@oscarotero
Comment options

Answer selected by writeblankspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants