Quite often we'll find that the majority of the content on a site repeats a pattern, and that only certain parts of the content differ from page to page. A site that displays articles for instance, will display each article using the same layout, and also have them listed in a repetitive manner. As developers, we'd probably like to avoid having to create each of these similar structured pages or items by hand.
For this purpose it's usually recommended to store the content we like to display in this fashion as data, which we can then render using a template or layout that will present each of them with the same template.
In this recipe we'll continue working with the project from the Adding content to the site recipe found earlier in this chapter. Be sure to refer to it if you are not yet familiar with its contents. 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...