January 2018
Beginner
658 pages
13h 10m
English
Now in order to create our very first template, what we'd like to do is make a directory in the project called views. The views is the default directory that Express uses for your templates. So what we'll do is add the views directory and then we'll add a template inside it. We'll make a template for our About Page.
Inside views, we'll add a new file and the file name will be about.hbs. The hbs handlebars extension is important. Make sure to include it.
Now Atom already knows how to parse hbs files. At the bottom of the about.hbs file, where it shows the current language it's using, HTML in parentheses mustache.
Read now
Unlock full access