Skip to content

Unable to utilize EJS's include while using ejs-mate. #23

@ghost

Description

In the EJS-Mate readme, it is recommended that we utilize EJS includes; however unless I've configured something incorrectly I am unable to call <%- include('template',{local:'values'}) %>, instead getting an error: "Unable to find "('template',{local:'values'}).ejs"

However this works:
`<% local = 'values' %>
<%- include template %>

It doesn't seem to matter what I do. Am I missing some kind of obvious option to turn of EJS-mate's include? I'd prefer to use the EJS but I'm some what new to both EJS & EJS-Mate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions