_build: Don't list this page
tags:
front-matter
page-bundles
_build
dont-list
Description/Summary
Build this page but don’t list it in
list pages.
Content
_build.list
option
This is the “do not list” page.
See the parent list page – This page is found using the .GetPage
method there, but it won’t be listed there under “Posts in
‘posts/build-front-matter/’”.
Page (Debug)
Page Variable | Value |
Name |
"_build: Don't list this page"
|
Title |
"_build: Don't list this page"
|
ResourceType |
"page"
|
Kind |
"page"
|
Section |
"posts"
|
Draft |
false
|
Type |
"posts"
|
Layout |
""
|
Permalink |
"https://ox-hugo.scripter.co/test/posts/build-front-matter/do-not-list/"
|
RelPermalink |
"/posts/build-front-matter/do-not-list/"
|
Data |
page.Data{} (type:page.Data) |
|
NextPage | None |
PrevPage | None |
NextInSection | None |
PrevInSection | None |
Page Params (Debug)
Key | Type | Value |
_build | maps.Params |
Key | Type | Value |
list | string |
"never"
|
|
description | string |
"Build this page but don't list it in _list_ pages."
|
draft | bool |
false
|
iscjklanguage | bool |
false
|
lastmod | time.Time |
2022-01-13 09:14:37 -0500 -0500
|
tags | []string |
"front-matter"
"page-bundles"
"_build"
"dont-list"
|
title | string |
"_build: Don't list this page"
|
File Object (Debug)
FileInfo Variable | Value |
UniqueID |
"8ab94ffaa670fd21baa08e81459179c7"
|
BaseFileName |
"do-not-list"
|
TranslationBaseName |
"do-not-list"
|
Lang |
"en"
|
Section |
"posts"
|
LogicalName |
"do-not-list.md"
|
Dir |
"posts/build-front-matter/"
|
Ext |
"md"
|
Path |
"posts/build-front-matter/do-not-list.md"
|