hugo/docs/content/en/getting-started/glossary/context.md
2025-01-23 09:47:46 +01:00

5 lines
402 B
Markdown

---
title: 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. See [details](/templates/introduction/#context).