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

Passing parameters to sections #35

Closed
bstrahija opened this issue Feb 24, 2011 · 1 comment
Closed

Passing parameters to sections #35

bstrahija opened this issue Feb 24, 2011 · 1 comment

Comments

@bstrahija
Copy link

Is it possible to somehow pass parameters to a section? Something like this:

{{#entries group=pages count=5}}
    {{title}}
    {{& body}}
    <hr>
{{/entries}}

This currently doesn't work, so I'm wondering if it's even possible. Or is there a workaround?

@bobthecow
Copy link
Owner

No, it's not possible. It will most likely never be possible, as that's outside the scope -- and against the principles -- of Mustache.

This issue was closed.
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