{{ $tab := .Get "tabNum" }} {{ $tabID := print (.Parent.Get "tabID") $tab }} {{ $tabName := (print "tabName" $tab) }} {{ if eq $tab "1" }}