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

如何在 node 中@include 一个模板文件 #39

Closed
shiny opened this issue Jul 5, 2013 · 2 comments
Closed

如何在 node 中@include 一个模板文件 #39

shiny opened this issue Jul 5, 2013 · 2 comments

Comments

@shiny
Copy link

shiny commented Jul 5, 2013

例如这种写法 {@include header.html}
最后会原样输出。

include 在服务器端编程是非常重要的吧 = =#

@shiny
Copy link
Author

shiny commented Jul 5, 2013

tornado 模板的 extends 也很有用但在 nodejs 里找不到替代品。

@shiny
Copy link
Author

shiny commented Jul 7, 2013

发现 swig 更适合我一点。

@shiny shiny closed this as completed Jul 7, 2013
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