This page uses the default.html template and draws its main content from the content database table.

Welcome

Welcome to Contemplate! This page demonstrates the embed tags most commonly used to build a typical site. This is the main content, which is selected based on the values specified for the "main" argument in the config/pages.txt file.

Above and below, we have a menu and a footer that come from the content/misc.html file. Since these are the same on every page of the template, their values don't need to be included into config/pages.txt … they're just hard-coded directly into the template.

To your right are two sidebars. The first is randomly selected from content/sidebars.html, so you can refresh the page to see it change. The second is optional: a conditional tag in the template only displays it if a value is given for it in config/pages.txt.