mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 23:20:49 +03:00
400 B
400 B
title | reference |
---|---|
context | /templates/introduction/#context |
Represented by a dot (.
) within a template action, context is the current location in a data structure. For example, while iterating over a collection 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.