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

Add nav class based on depth not parent #249

Merged
merged 1 commit into from
Jun 13, 2014

Commits on Jun 12, 2014

  1. Fix if statement for nav class addition

    The nav class should be added when the current depth is 0, meaning when the item is the first to be rendered. The previous way checked if the item had a parent. But this would screw up rendering if the user wanted to render just a subset of the tree.
    bkosborne committed Jun 12, 2014
    Configuration menu
    Copy the full SHA
    02ec72d View commit details
    Browse the repository at this point in the history