Nunjucks, Bootstrap 5.2 and css Template#/views/header.njk
📦 Project
├─ controllers
│ └─ pagesController.js
├─ src
├─ css
│ └─ style.css (css Only)
│ js
│ └─ app.js
├─ views
│ ├─ about.njk
│ ├─ contact.njk
│ ├─ header.njk (Here you could change the tab name)
│ ├─ index.njk
│ ├─ link1.njk
│ ├─ link2.njk
│ └─ master.njk
README.md
index.js
package-lock.json
package.json
└─ routes.js
©generated by Project Tree Generator
Here you can change the name that appears on the tab. It's formed by a "Project name" and by the name of the page were you are in.
{% block projectTitle %} Nunjucks - {# Project name #} {% block title %}{% endblock %} {# Name of the page (link) #} {% endblock %}
#/views/master.njk
<title> {% block projectTitle %} {% endblock %} </title>