Is there a nice way to route using EJS teamplate avoiding repetition with Express server?
|Added at||2017-01-04 13:01|
Let's say that my app has two view: index.ejs, profile/index.ejs I want to route using express code like below.
should both two ejs files have bootstrap link?
If the answer is yes, whenever I want to render another page, should I reload style and js file from CDN?
I mean, is there a nice way to keep common contents when I change my EJS template?