menu: showcase headless page feature #642

This commit is contained in:
Sören Weber 2023-09-23 10:28:33 +02:00
parent e18c213e8c
commit c25c48cc69
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 11 additions and 5 deletions

View file

@ -1,10 +1,14 @@
+++
description = "This is a demo child page"
tags = ["children", "non-hidden"]
title = "page 1-1-2"
tags = ["children", "headless", "non-hidden"]
title = "page 1-1-2 (headless)"
[_build]
render = "never"
+++
This is a plain demo child page.
This is a headless child page.
While the heading is displayed in the theme for hierarchical views like the menu, the `children` shortcode, the chapter print feature and the breadcrumbs, its content will never be displayed and will not be accessible by search. Also its terms will not appear on the taxonomy pages.
## Subpages of this page

View file

@ -1,6 +1,8 @@
+++
descrption = "This be a demo child plank"
tags = ["children", "non-hidden"]
title = "plank 1-1-2"
tags = ["children", "headless", "non-hidden"]
title = "plank 1-1-2 (headless)"
[_build]
render = "never"
+++
{{< piratify >}}