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

Chapter 10. Static Sites

In this chapter, we will cover the following recipes:

  • Setting up a basic site project
  • Adding a page to the site
  • Adding content to the site
  • Adding data to the site
  • Creating and using a site layout
  • Generating pages from a collection
  • Creating a template helper
  • Using a plugin

Introduction

One of the areas where Grunt really shines is in the management of static website projects. Using Grunt for generating a static website can result in a fast and easily modifiable site, replacing the complexity and cost of building a traditional server-generated site when its advantages would not be useful to the situation.

In this chapter we'll be focusing on making use of the Assemble framework to build a static website. At its core, Assemble is a ...

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