lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
650 stars 356 forks source link

Questions about Table of Contents #440

Closed wrysunny closed 11 months ago

wrysunny commented 1 year ago

I have set the parameter "toc = true" in the params.toml file located in the "config/_default" directory of my website's root directory. However, when I access my website, the Table of Contents is still not being displayed. The only issue I could find related to this is on https://github.com/lxndrblz/anatole/issues/131. Do I need to follow the instructions provided in that issue, or is there another configuration parameter that I need to set?

lxndrblz commented 1 year ago

The toc needs to be enabled in the frontmatter of a post. This can't be done globally.