jgm / yst

create static websites from YAML data and string templates
GNU General Public License v2.0
379 stars 38 forks source link

multilevel site #26

Open chrisersen opened 12 years ago

chrisersen commented 12 years ago

At the moment it is possible to make the navigation menu with multiple levels, but the first level in a multilevel structure has no content:

- Rooms:
  - url      : room101.html
    title    : Room 101
    source   : room101.txt

  - url      : room203.html
    title    : Room 203
    source   : room203.txt

but I also need content in the first level:

- url: rooms.html
  title: Rooms
  source: rooms.txt
  - url      : room101.html
    title    : Room 101
    source   : room101.txt
  - url      : room203.html
    title    : Room 203
    source   : room203.txt

Is it possible to achieve that with yst?

thanks,

christian

karanahuja-android commented 7 years ago

does this suffice :) i know what you mean but dont know the exact solution to your question so i am just suggesting a workaround just in case it works(maybe.)