View on GitHub

reading-notes

EJS PARTIALS:

Partials are to use same HTML across multiple views. partials makes large websites easier to maintain as you don’t have to go and change a piece of text in every page it appears in.

Example:

<%- include('partials/navbar') %>