Added current node id to template variables