Nodejs Templating

As in Django template inheritance, we can use base_template, right?. We can pass content to base_template and it returns with an updated template. Can we do the same in NODEJS? I know we can pass params and use that in individual templates.