Skip to main content

Module template

Module template 

Source
Expand description

Shared Tera engine + context builders.

Two contexts:

  • config_context — exposes only yui.* and the env(name=…) function. Used while parsing config*.toml (vars aren’t fully resolved yet).
  • template_contextyui.* + vars.* + env(…). Used to render *.tera dotfiles after the merged config is known.

Structs§

Engine

Functions§

config_context
template_context