concept block in category node

This is an excerpt from Manning's book Getting MEAN with Mongo, Express, Angular, and Node.js 2ED.
There’s more going on here than meets the eye. Right at the top of the file is a statement declaring that this file is an extension of another file 1—in this case, the layout file. Following is a statement defining a block of code 2 that belongs to a specific area of the layout file: an area called content. Finally, there’s the minimal content displayed on the Express index page: a single <h1> tag and a single <p> tag 3.
The first step is looking at variables, scope, and functions, which are all closely tied together. JavaScript has three types of scope: global, function (using the var keyword), and lexical (using let or const keywords). JavaScript also has scope inheritance. If you declare a variable in global scope, it’s accessible by everything; if you declare a variable with var inside a function, it’s accessible only to that function and everything inside it; if you declare a variable with let or const in a block, it’s accessible inside the braces and everything inside that block, but unlike var, access doesn’t bleed through to the surrounding function block.

This is an excerpt from Manning's book Node.js in Action, Second Edition.
How to organize your templates by using inheritance, blocks, and mixins
Implementing layouts by using block prepending/appending