These files are in /views/ directory. Wherever we have multiple lines of EJS markup, <%= stuff.Like.This %>, we can move that markup into a new .ejs file in /views/modules/ then replace the index markup with a reference to the module. This will keep the code cleaner and ease future maintenance.
These files are in /views/ directory. Wherever we have multiple lines of EJS markup, <%= stuff.Like.This %>, we can move that markup into a new .ejs file in /views/modules/ then replace the index markup with a reference to the module. This will keep the code cleaner and ease future maintenance.