List inside list

Hello,

I was wondering if it’s possible to have a list in a list with Hugo.

Currently I have this :

courses/
  - html.md
  - javascript.md
  - css.md

What I would want is something like this :

courses/
 html/
  _index.md
  cours1.md

I want to be able when I click on the list item html, I end up in a new list of courses for html.

Is this possible with Hugo? It seems that it’s only possible to go one level deep.

I stumbled on this issue that says it’s in the 0.21 release (which released 7 days ago). I can’t find anywhere in the docs where they talk about ranging content with two levels.

Thanks!

Currently not supported, but it will be fairly soon, once I get it done.

4 Likes

Thank you for the reply! This feature will make a lot of people happy it seems :slight_smile:

1 Like

I don’t currently need it, so for me it’s just work and some more grey hair.

I understand, I really appreciate you adding this despite not needing it!