PhileCMS / Phile

A flat file CMS with a swappable parser and template engine.
https://philecms.github.io/
Other
257 stars 49 forks source link

Navigation/Sub Nav #62

Closed dfrasier closed 10 years ago

dfrasier commented 10 years ago

Hi all, I was wondering if anyone has had any luck setting up the main navigation so that the items in the sub folders are displayed as child items. Basically I'm trying to setup a simple drop-down nav.

Pico has a plugin that did this well but I can't seem to figure out how to do it with Phile. https://github.com/ahmet2106/pico-navigation

Thanks for your help. Keep up the great work James!

james2doyle commented 10 years ago

+1 for this. Maybe someone can convert it?

james2doyle commented 10 years ago

This can be achieved in a plugin. Perhaps it can go in the core at some point. It would mean adding a navigation variable along side the pages variable, in order to maintain backwards compatibility.