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

How can I hide a page from showing in the side-bar navigation?

Open skleanthous opened this issue 5 years ago • 2 comments

We have been trying out hugo-theme-learn for our internal documentation at the company I work for, and we wanted to know whether there is already a way to hide certain pages from the navigation on the side bar.

Is there a feature like this already implemented? If not, are you interested in a PR to add this functionality?

skleanthous avatar Aug 21 '20 14:08 skleanthous

We simply did it via custom CSS ;)

fritzmg avatar Aug 21 '20 17:08 fritzmg

@fritzmg thank you, but I was hoping for something more native to hugo; possibly changing the partial used to render it to consider front matter for the pages. This is the direction I'll be taking if it's not really possible otherwise.

skleanthous avatar Aug 21 '20 22:08 skleanthous