Skip to content

Allow response.render to also work with .njk files #256

@frankieroberto

Description

@frankieroberto

We have enable the auto-routing to work with both .html and .njk files.

However if you do a custom route and call res.render('my-page') then it currently only works with a my-page.html file, not my-page.njk.

Ideally we should let it work with both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions