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

Conditional Tpl Based on Total Numbe of Retrieved Resources #89

Open
hephaestoskin opened this issue Dec 30, 2013 · 0 comments
Open

Conditional Tpl Based on Total Numbe of Retrieved Resources #89

hephaestoskin opened this issue Dec 30, 2013 · 0 comments

Comments

@hephaestoskin
Copy link

While this would require that getResources loop through twice (once to count resources, the second to render via chunks), it would be amazing with Twitter Bootstrap sites to be able to assign chunks for formatting conditional on the number of resources being retrieved by getResources. This would work in a manner similar to &tplCondition. While this would be more processor intensive, with proper caching it could be a very helpful feature for designers utilizing CSS frameworks.

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