O'Reilly logo

Grunt Cookbook by Jurie-Jan Botha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a page to the site

As its core, a static website is just a collection of pages. With our basic setup in place we can look at adding a page that contains some biographical information about us.

Getting started

In this recipe we'll work with the basic project structure that we created in the Setting up a basic site project recipe earlier in this chapter. Be sure to refer to it if you are not yet familiar with it's content. Before we start we should also make sure that the site builder and server are running. If they aren't yet running, they can be started using the grunt server command.

How to do it...

The following steps take us through adding a page to our static site that will contain our simple biography:

  1. First we'll create a file called ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required