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

layout.coffee not used in Express 3 #73

Open
shirish87 opened this issue Jun 18, 2013 · 1 comment
Open

layout.coffee not used in Express 3 #73

shirish87 opened this issue Jun 18, 2013 · 1 comment

Comments

@shirish87
Copy link

Running the example for Express in examples/express only renders the HTML in specific view files (eg. index.coffee) and doesn't place the rendered view into the layout.coffee @Body block as expected.

Steps:

  • Install express, coffeecup
  • coffee app.coffee
  • Visit http://localhost:3000/
  • View source -- shows only the h1 and p tags from index.coffee, not the entire HTML page.

coffeecup@0.3.20
express@3.2.6

@xavieryao
Copy link

I am curious about how that layout.coffee thing worked……I've been looking for a way to use extend or include in coffeecup. Wondering if there's any help.

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

2 participants