Last active
December 18, 2015 07:29
-
-
Save marcogrueter/5746998 to your computer and use it in GitHub Desktop.
PyroCMS: multiple navigation levels with changed navigation plugin (https://github.com/marcogrueter/pyrocms-professional/commit/ae67cce26ab2fc256d90d86bd22c882124bba472)
This file contains 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
<ul> | |
{{ navigation:links group="header" }} | |
<li><a href="{{ url }}">{{ title }}</a> | |
{{ if children_level_1 }} | |
<ul> | |
{{ children_level_1 }} | |
<li><a href="{{ url }}">{{ title }}</a> | |
{{ if children_level_2 }} | |
<ul> | |
{{ children_level_2 }} | |
<li><a href="{{ url }}">{{ title }}</a> | |
{{ if children_level_3 }} | |
<ul> | |
{{ children_level_3 }} | |
<li><a href="{{ url }}">{{ title }}</a></li> | |
{{ /children_level_3 }} | |
</ul> | |
{{ endif }} | |
</li> | |
{{ /children_level_2 }} | |
</ul> | |
{{ endif }} | |
</li> | |
{{ /children_level_1 }} | |
</ul> | |
{{ endif }} | |
</li> | |
{{ /navigation:links }} | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment