Hi @mmistakes, what I am trying to do is set the theme’s toc
setting in a layout instead of setting it in the page.
I have toc: true
set as a default in _config.yml
but I want to disable it for my index pages. I have a _layouts/index.md
file where I set toc: false
in the frontmatter hoping that pages using that layout would not get a toc. But it doesn’t work like that.
If I have to set something in the page file then I might as well do toc: false
in its frontmatter. It’s what I am doing now but I hoped that I could factor that out to the layout.
Sorry - I posed the question in a generic way rather than calling out the theme…