Disabled pages

Description#


A page can be set as disabled using the two following methods:

  • automatically, if the page does not contain any content (excluding front matter)
  • manually, by setting the sidebarDisabled variable to true in the front matter
Since a section is a special case of a content page, it is possible to define an empty section in the same way as a simple content page.

Examples#


  • Automatic deactivation:
    page.md
    ---
    title: "Front matter"
    ---
    
  • Manual deactivation:
    page.md
    ---
    title: "Front matter"
    sidebardisabled: true
    ---
    
    # Page content
    ---
    
On this page: