Sorting numbers displayed in menu


#1

Hey,
I want to render my menu as a decimal structure/table of contents. So, how can I show the sorting numbers from the content structure in the menu to get this kind of chapter numbering e.g.

Content folder:
1_photography
1_animals
2_trees
3_sky
2_notes
3_about

Menu:

  1. Photography
    1.1 Animal
    1.2 Trees
    1.3 Sky
  2. Notes
  3. About

Thanks so long!
Jan


#2

I think you should do your chapter numbering with CSS: https://css-tricks.com/numbering-in-style/

On a side note: It would be really helpful if you could use the appropriate question category for your version of Kirby in the future. Thanks a lot.


#3

Thanks texnixe, I will give it a try!