Last active
April 19, 2018 13:38
-
-
Save fredkelly/1e73f8ebf642a2f370ce5e069a044d30 to your computer and use it in GitHub Desktop.
Generating a nested navigation in Jekyll with Liquid
Hello, Fred!
Same here, could you please help us with a quick overview of your code?
Thanks!
It works without "group.size > 1 and"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi fred,
I am following your code to get a dropdown in my project page ,but it is not working. can you help on understanding these lines ?
{% if group.size > 1 and group.name != include.context %}<li class="{% if page.url contains group.name %}active{% endif %}"><span>{{ group.name | replace: '/', '' | capitalize }}</span>{% include navigation.html context=group.name %}</li>