express-title
<title>
tags via middleware.
Fill in your Add it as middleware:
app;
Set a base title:
app;
Add page titles:
app;
Add title
to your view:
doctype htmlhtml(lang='en') head title= title body //- ...
Now you've got beautifully dynamic page titles:
What an awesome title?! · Epic Website
Bonus: use a custom formatter:
app;
Installation
$ npm install express-title
var title = ;// ...var app = ;// ...app