zhaohuabing / hugo-theme-cleanwhite

A clean, elegant blog theme for hugo
Apache License 2.0
725 stars 335 forks source link

How to remove TOC from markdown generated #67

Closed VaibhavSingh033 closed 4 years ago

VaibhavSingh033 commented 4 years ago

So, this must be pretty basic but I have tried everything. Added toc: false in header removed it everything but this TOC which gets generated in the output doesnt go away.

Please see yellow highlighted in attached image Capture1

Please assist on how to remove that TOC

merikan commented 4 years ago

standard behavior is that a TOC is created for all pages. if you want to change this then add 'showtoc: false' as a sitewide param in config.toml see #45 If you only want to change for a specific page, add 'showtoc: false' as a front matter

helloweizhang commented 4 years ago

TOC module in the file: hugo-theme-cleanwhite-master/layouts/_default/single.html You can edit it by yourself.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.