Fixed node template context variable
Updated version