Can I pass the global context into a partial? Say something like {{ Partial “tpl” $ }}? I have the partial template within a with. So would the . would be the value of the with's condition? If I understand right within with a call to a partial template with . I cannot do .Site.... within the template?
Can I save the global context in a variable like: $ctx := $ to be used later and perhaps passed to a partial {{ partial "tpl" $ctx }} seams to be valid syntax.