Disable / hide certain links in the ToC

Hey Hugoers,

I wanted to ask how I can deactivate certain links respectivsasly hide specific sites in the ToC.

I am using the theme hugo-books, and already created an issue over there Disable / hide certain links in the ToC · Issue #779 · alex-shpak/hugo-book · GitHub , but maybe any of you have an idea?

I already tested

type: docs
bookToC: false

and following setting in the config

[params]
BookToC = true

but that didnt worked either. I am open to ideas…

Set bookHidden to true in front matter to remove the page from the menu on the left side of the screen.

Great, thanks this worked :+1: - can you point me to the docs for that?

https://github.com/alex-shpak/hugo-book?tab=readme-ov-file#page-configuration

Please close the issue you created in the hugo-book repo.

I did. thanks!

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