Help me understand my own page setup

I use a Hugo theme where I have /content/about/index.md having my abouts and /content/blog/*.md having 10+ markdown files. My Hugo theme support table of contents , read time etc… when I turn of these features, I do see the same in /about as well. I expect those only in /blog.

What’s the wrong with my setup and how above can be fixed?

hi @recurringnht

can you share your layout folder structure or at least theme name?

thanks

Theme is PaperMod GitHub - adityatelange/hugo-PaperMod: A fast, clean, responsive Hugo theme.

To disable: Add in about/index.md (YAML front matter in my case)

cascade:
  showtoc: false
  ShowReadingTime: false

I haven’t tested with that theme but reading “Page Variables” on Variables | Front Matter | PaperMod that should work if it works like Hugo works ;-).

EDIT: If you don’t have further “subfiles” in folder /about/ you don’t need the cascade: part.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.