[plugins/sitenav] hide pages in generate_output() so that hidden pages can list their subpages