Skip to content

BUG: Autodetect embed layout engine from template ext #36

@carbontwelve

Description

@carbontwelve

In #35 I note that in my website, with the bug that #35 fixes, the embed compiler was being passed template content of my nunjucks file and then rendering it within liquid causing crashing due to syntax error.

The plugin should autodetect the embed layout engine from the file ext, subsequently it should only allow embedding markdown files as we pass the uncompiled file content into the render engine and tell it to do markdown and the emebed template's language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions