update to template rendering syntax to pass context explicitly without 'this'