Conventions

Throughout the book you’ll see commands like this:

 $ ​​hugo​​ ​​new​​ ​​site​​ ​​portfolio

This is a command that you’ll type at your command-line interface. The dollar sign indicates the prompt. You won’t type that character.

You’ll also see code listings, like this:

 <div class=​"container"​>
 
 </div>

Sometimes, you’ll see highlighted sections when adding new lines of code, like this:

 <div class=​"container"​>
» <header>
» <h1>{{ .Site.title }}</h1>
» </header>
 </div>

You’ll find instructions on where to add the code to your project with each listing, along with details on what the code does.