Last active
December 24, 2015 03:19
-
-
Save lukeholder/6737121 to your computer and use it in GitHub Desktop.
craft nav
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Template Syntax Error | |
Unexpected tag name "endifchildren" (expecting closing tag for the "nav" tag defined near line 24) | |
/Users/lukeholder/Code/Work/teninacraft/craft/templates/_partials/_topbar.html(24) | |
22 {% set pages = craft.entries.section('pages').find() %} | |
23 {% nav page in pages %} | |
24 <li class="{% ifchildren %}has-dropdown{% endifchildren %}"> | |
25 <a href="">{{ page.title }}</a> | |
26 {% ifchildren %} | |
27 <ul class="dropdown"> | |
28 {% children %} | |
29 <li class="divider"></li> | |
30 </ul> | |
31 {% endifchildren %} | |
32 </li> | |
33 <li class="divider"></li> | |
34 {% endnav %} |
I know i'm going to need this later on, so thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for anyone else that comes across this brandons example should be: