Templates
Class methods
The build-constant site variables templates see (per language), used by TemplatePreprocessor to fold constant subtrees at load time. Keep in sync with Render.apply_template's site vars.
Ensure all baked-in shortcodes exist in the shortcodes/ directory If any are missing, extract them from the baked filesystem
Ensure all baked-in theme files exist in the themes/default/ directory If any are missing, extract them from the baked filesystem
Get the Crinja environment for the current task, checking one out of the pool on first use (see EnvCache). Calls outside a task simply keep their environment checked out for the fiber's lifetime.
Compute the kv:// dependencies of a template file: every other template it references through {% include %}, {% extends %}, {% import %} or {% from ... import %}.
The (folded) template for name in lang on the current fiber's environment