You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
All pages when using Hugo, whether or not they are nested within sections are rendered in a TOC with a flat namespace. I want to be able to override the structure of the TOC so that one can have pages listed under an entry for the section they are included in.
In other words, things might be displayed at the moment as:
This includes a page number intended only to illustrate that things are visited in that sequence.
What want to instead have is something like:
* page 1
* section-1
+ page 1
+ page 2
* page 2
Note that not showing numbers as before since not sure how they should be handled.
Describe the solution you'd like
As want to try and avoid mucking up TOC for existing workshops, propose that in order to trigger this behaviour when using Hugo renderer, that the section (branch bundle), needs to have a _index.md file which contains a title in the meta data.
---
title: Section Name
---
Note that to be practical might only support one level of nesting.
Describe alternatives you've considered
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
One tricky part of supporting this is what to do if someone manually lists the pages in the workshop/config.yaml in a pathway and all pages under one section are not grouped together. One could simply ignore the fact and thus could end up with.
1. Introductions
1.1 Introduction to Git
1.2 Introduction to Kubernetes
2. This is more tidy
3. Introductions
3.1 Introduction to ArgoCD
4. I like it a lot
Possibly just warn against it and if someone ignores that and results in repeating section name it is their issue.
Is your feature request related to a problem? Please describe.
All pages when using Hugo, whether or not they are nested within sections are rendered in a TOC with a flat namespace. I want to be able to override the structure of the TOC so that one can have pages listed under an entry for the section they are included in.
In other words, things might be displayed at the moment as:
This includes a page number intended only to illustrate that things are visited in that sequence.
What want to instead have is something like:
Note that not showing numbers as before since not sure how they should be handled.
Describe the solution you'd like
As want to try and avoid mucking up TOC for existing workshops, propose that in order to trigger this behaviour when using Hugo renderer, that the section (branch bundle), needs to have a
_index.md
file which contains atitle
in the meta data.Note that to be practical might only support one level of nesting.
Describe alternatives you've considered
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: