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

增强 #tag layout 功能,允许添加自定义参数给 layout 模板 #39

Closed
subchen opened this issue Dec 5, 2013 · 0 comments
Closed
Assignees
Milestone

Comments

@subchen
Copy link
Owner

subchen commented Dec 5, 2013

main.jetx

#tag layout("layout.jetx", {name: "jetbrick", age: 30})
   XXX
#end

layout.jetx

header

Hello: ${name}, age is ${age}
<div>
  ${bodyContent}
</div>

footer
@ghost ghost assigned subchen Dec 5, 2013
@subchen subchen closed this as completed in e547bbd Dec 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant