mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
menu: showcase headless page feature #642
This commit is contained in:
parent
e18c213e8c
commit
c25c48cc69
2 changed files with 11 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 >}}
|
Loading…
Reference in a new issue