.Kind (section):
.Type (posts) /
.Layout ()
Bundle: branch
This is the test site for the
ox-hugo package for Emacs/Org-mode.
It is updated automatically after each commit to the
ox-hugo repo.
It was last updated on Dec 06, 2025 17:39 UTC.
This page was created/modified in commit eaadde8 "Improve tests added in https://github.com/kaushalmodi/ox-hugo/pull/523" on 2022-01-13.
✱
Markdown
source of this page
_build Front-matter
Posts in ‘posts/build-front-matter/’
Content
ox-hugo Issue #358 | _build page params
"do-not-list"
Page Metadata
| 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
| 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"
|
Page 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/’”.
"do-not-render"
Page Metadata
| Page Variable | Value |
| Name |
"_build: Don't render this page"
|
| Title |
"_build: Don't render this page"
|
| ResourceType |
"page"
|
| Kind |
"page"
|
| Section |
"posts"
|
| Draft |
false
|
| Type |
"posts"
|
| Layout |
""
|
| Permalink |
""
|
| RelPermalink |
""
|
| Data |
| page.Data{} (type:page.Data) |
|
| NextPage | Setting EXPORT_HUGO_SECTION to "/"
|
| PrevPage | 2020-04-19 |
| NextInSection | None |
| PrevInSection | None |
Page Params
| Key | Type | Value |
| _build | maps.Params |
| Key | Type | Value |
| render | string |
"never"
|
|
| description | string |
"Do not render this page, but.. still list it."
|
| draft | bool |
false
|
| iscjklanguage | bool |
false
|
| lastmod | time.Time |
2022-01-27 10:24:14 -0500 -0500
|
| tags | []string |
"front-matter"
"page-bundles"
"_build"
"dont-render"
|
| title | string |
"_build: Don't render this page"
|
Page Content
_build.render option
This is the “do not render” page.
See the parent list page – This page is not rendered, but its content
and metadata can be found using the site.GetPage method.
This page is listed on that parent list page, but the link won’t lead
to this page as.. it did not get rendered. That link will point to
that page itself because with render set to false or "never",
the .Permalink and .RelPermalink get set to "".
"do-not-render-or-list"
Page Metadata
| Page Variable | Value |
| Name |
"_build: Don't render or list this page"
|
| Title |
"_build: Don't render or list this page"
|
| ResourceType |
"page"
|
| Kind |
"page"
|
| Section |
"posts"
|
| Draft |
false
|
| Type |
"posts"
|
| Layout |
""
|
| Permalink |
""
|
| RelPermalink |
""
|
| Data |
| page.Data{} (type:page.Data) |
|
| NextPage | None |
| PrevPage | None |
| NextInSection | None |
| PrevInSection | None |
Page Params
| Key | Type | Value |
| _build | maps.Params |
| Key | Type | Value |
| list | bool |
false
|
| render | bool |
false
|
|
| description | string |
"Do not render or list this page."
|
| 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-render"
"dont-list"
"headless"
|
| title | string |
"_build: Don't render or list this page"
|
Page Content
This is the “do not render or list” page.
See the parent list page – This page is not rendered, but its content
and metadata can be found using the site.GetPage method.
Setting both render and list to false or "never" makes this
page behave like a headless page bundle – ref.
Page (Debug)
| Page Variable | Value |
| Name |
"_build Front-matter"
|
| Title |
"_build Front-matter"
|
| ResourceType |
"page"
|
| Kind |
"section"
|
| Section |
"posts"
|
| Draft |
false
|
| Type |
"posts"
|
| Layout |
""
|
| Permalink |
"https://ox-hugo.scripter.co/test/posts/build-front-matter/"
|
| RelPermalink |
"/posts/build-front-matter/"
|
| Data |
| page.Data{"pages":(func() page.Pages)(0x15eea00)} (type:page.Data) |
|
| NextPage | None |
| PrevPage | None |
| NextInSection | None |
| PrevInSection | None |
Page Params (Debug)
| Key | Type | Value |
| draft | bool |
false
|
| iscjklanguage | bool |
false
|
| lastmod | time.Time |
2022-01-13 09:14:37 -0500 -0500
|
| tags | []string |
"front-matter"
"page-bundles"
"_build"
|
| title | string |
"_build Front-matter"
|
File Object (Debug)
| FileInfo Variable | Value |
| UniqueID |
"ea1c659b653f4325ac8adc3b124bd5e7"
|
| BaseFileName |
"_index"
|
| TranslationBaseName |
"_index"
|
| Lang |
"en"
|
| Section |
"posts"
|
| LogicalName |
"_index.md"
|
| Dir |
"posts/build-front-matter/"
|
| Ext |
"md"
|
| Path |
"posts/build-front-matter/_index.md"
|
This site is generated using the
ox-hugo package for Emacs/Org-mode +
hugo-bare-min-theme + Hugo 0.101.0
(commit
466fa43c16709b4483689930a4f9ac8add5c9f66)
.
This site is powered by Netlify.