Closed maneesha closed 3 weeks ago
By default, any root folder beneath /content
with children md is considered a section and generate a landing page for that section. Title is infered from the directory name. (by pluralizing it)
Adding a _index.md
in the folder allow to add some front-matter information to the section's landing page, like your own title for example.
@regisphilibert is it possible to disable that behavior so a landing page is not automatically generated?
You're going to have to create a _index.md
in the concerned directory with the following:
_build:
render: never
list: never
Thanks!
Example Carpentries site build from this repo.
Some folders have an
_index.md
file. Some folders do not, but an index page gets generated anyways.Example:
workshops
folder has_index.md
. As expected, this renders to this page. However,host
folder does not have an index page, and it renders to a blank page called Hosts (plural).