{{foreach $stepNames as $step => $name}} {{if $activeStep == $name}} {$output|raw} {{endif}} {{endforeach}}