web-development-with-node-and-express icon indicating copy to clipboard operation
web-development-with-node-and-express copied to clipboard

CH16 reference to static main.css missing quotes

Open reybango opened this issue 8 years ago • 0 comments

Adding this here for addition to the addendum and updates to the 2ed copy of the book.

In the book, the code being mentioned on pg 186 says to define the static resource like this:

<link rel="stylesheet" href="{{static /css/main.css}}">

It's missing single quotes around the file path and file name like this:

<link rel="stylesheet" href="{{static '/css/main.css'}}">

Without them it'll not include the stylesheet into the page.

reybango avatar Oct 03 '16 16:10 reybango