Making a multi-level nav

Hi,

I'm probably doing something not quit right... I want to make a multi-level navigation. Started with the Kindling-theme, made some fake-content.

sd.jpg

In a partial i've got this code:

    <ul class="nav">

        <li><a href="{{ homepage }}"{{ if !segment_1 }} class="current"{{ endif }}>Home</a></li>
        {{ nav from="/" max_depth="4" }}
        <li><a href="{{ url }}" {{ if is_current }} class="current"{{ endif }}>{{ title }}</a></li>
        {{ /nav }}

    </ul>

When refreshing the site, it outputs this nav:

nav.jpg

I also tried:

poging2.jpg

And: poging3.jpg

But it made no difference, the outputted nav was still the same... How can one make the items/pages from the about-folder visible in the nav?

Kind Regards, Erik

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
5 Replies
4 Followers