mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-18 10:14:52 +00:00
1 parent
612b8528f9
commit
4591058f57
14 files changed
+13
-18
No files matched your search
@@ -3,4 +3,4 @@ title: context
|
||||
reference: /templates/introduction/#context
|
||||
---
|
||||
|
||||
Represented by a dot "." within a [_template action_](g), _context_ is the current location in a data structure. For example, while iterating over a [_collection_](g) of pages, the context within each iteration is the page's data structure. The context received by each template depends on template type and/or how it was called.
|
||||
Represented by a dot (`.`) within a [_template action_](g), _context_ is the current location in a data structure. For example, while iterating over a [_collection_](g) of pages, the context within each iteration is the page's data structure. The context received by each template depends on template type and/or how it was called.
|
||||
@@ -3,4 +3,4 @@ title: headless bundle
|
||||
reference: /content-management/build-options/
|
||||
---
|
||||
|
||||
A _headless bundle_ is an unpublished leaf or branch bundle whose content and resources you can include in other pages.
|
||||
A _headless bundle_ is an unpublished [_leaf bundle_](g) or an unpublished [_branch bundle_](g) whose content and resources you can include in other pages.
|
||||
@@ -3,4 +3,4 @@ title: leaf bundle
|
||||
reference: /content-management/page-bundles/
|
||||
---
|
||||
|
||||
A _leaf bundle_ is a directory that contains an `index.md` file and zero or more [_resources_](g). Analogous to a physical leaf, a leaf bundle is at the end of a branch. It has no descendants.
|
||||
A _leaf bundle_ is a directory that contains an `index.md` file and zero or more [_resources_](g). Analogous to a physical leaf, a leaf bundle is at the end of a [_branch bundle_](g). It has no descendants.
|
||||
@@ -2,4 +2,4 @@
|
||||
title: section
|
||||
---
|
||||
|
||||
A _section_ is a top-level content directory or any content directory containing an `_index.md` file. A section is also known as a [_branch bundle_](g).
|
||||
A _section_ is a top-level content directory or any content directory containing an `_index.md` file.
|
||||
Reference in new issue
Block a user