Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make templates dir accept a regex #5

Open
max-mapper opened this issue Apr 12, 2012 · 0 comments
Open

make templates dir accept a regex #5

max-mapper opened this issue Apr 12, 2012 · 0 comments

Comments

@max-mapper
Copy link
Contributor

t.templates.directory(path.resolve(__dirname, '..', 'templates')) loads every file in the ./templates folder but I'd like to say:
t.templates.directory(path.resolve(__dirname, '..', 'attachments'), /*.mustache/) or whatever so I can use the same folder for static assets + templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant