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

Custom template collision with express-ejs-layouts module #16

Open
s2t2 opened this issue Apr 11, 2016 · 2 comments
Open

Custom template collision with express-ejs-layouts module #16

s2t2 opened this issue Apr 11, 2016 · 2 comments

Comments

@s2t2
Copy link
Contributor

s2t2 commented Apr 11, 2016

Hi, I'm a big fan of using custom templates, but I found my custom template stopped working once I configured EJS layouts using the express-ejs-layouts module.

Weird thing is, the default messages() call works fine, but a custom messages('_bootstrap_flash_messages') call does not render anything.

Are you able to provide guidance on the matter?

For more information, see: soarez/express-ejs-layouts#17

@artcommacode
Copy link

Sounds like it could be a dupe of #14

@ayinlaabel
Copy link

issue convert this pug to ejs

if errors
each error, i in errors
div(class="alert alert-danger") #{error.msg)

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

3 participants