Corrects example twig code displayed on reference

The example twig code on the reference page referenced an
outdated variable. Updates it to the current variable name.