intelops/website

how to disable and enable pages and/or content from public view?

devopstoday11 opened this issue · 2 comments

Hi @tfsojon
How could I enable/disable any page I want from public view? And also, how can I hide/show in the main menu bar in the header area?

I want to be able to hide certain pages or certain sections in a particular page that are not ready. How can I do that?

  • To hide a page set draft: true in frontMatter
    image

  • most of the section are has option to disable

  • and for menu comment out the menu item in menus.[].toml file like this
    image

Thank you. Found it. It's in the config/_default/menus.en.toml file