mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'
This commit is contained in:
6
docs/content/en/quick-reference/glossary/context.md
Normal file
6
docs/content/en/quick-reference/glossary/context.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
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.
|
Reference in New Issue
Block a user