make templates dir accept a regex #5

Open
maxogden opened this Issue Apr 12, 2012 · 0 comments

Projects

None yet

1 participant

@maxogden
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

@adamghill adamghill referenced this issue in adamghill/tako Sep 13, 2012
Closed

Allow filtering templates by regex #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment