Partials are useful for using the same HTML for more than one view. You can define a chunk of code and reuse it wherever it’s needed.
create a .ejs
file within the views/partials directory
the file created can be used for specific section of a page that you want to use across multiple views. For example a footer that doesn’t need changes.
after defining the partial, you can use it in whichever .ejs files necessary.
don’t forget to use strawberries in these files
Partials