How do you create a nav tag for sub-pages?

If I have a page with three sub-pages how do I create a nav tag for just those sub-pages?

I tried setting from to the sub-directory as it would appear in the url:

{{ nav from="/page-title/"  }}
  <li>{{ title }}</li>
{{ /nav }}

but that didn't work. So I tried using the folder name instead:

{{ nav from="/01-page-title/"  }}
  <li>{{ title }}</li>
{{ /nav }}

That didn't work either. So then I tried using the folder path from the site root:

{{ nav from="/_content/01-page-title/"  }}
  <li>{{ title }}</li>
{{ /nav }}

That didn't work either.

What am I missing here?

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
2 Replies
2 Followers