hugo-theme-nostyleplease icon indicating copy to clipboard operation
hugo-theme-nostyleplease copied to clipboard

corrected Table of Contents instructions

Open gregfitzgerald opened this issue 1 year ago • 1 comments

In the README, the developer says:

You can add a table of contents by supplying the toc: true param to your post front matter. If you want a border around it you can also set tocBorder: true.

The correct params would actually be toc = true and tocBorder = true.

gregfitzgerald avatar Dec 05 '23 21:12 gregfitzgerald

The description is not wrong. There are a couple of supported formats: YAML, TOML, JSON - https://gohugo.io/content-management/front-matter/

underscoreHao avatar Feb 08 '24 22:02 underscoreHao