Reusability and passing data to ejs includes/partials

Check this post. There is an example similar to what you are trying.

2 Likes