Template Configuration

The template configuration file (template.conf) contains template meta data (template name, author), defines page layouts, navigation areas, and stylesheet loading order.

Example Template Configuration File (template.conf)

{
  "name" : "Ipso Pronto",
  "author" : "Dave Farber",

  "layouts" : {
    "default" : {
      "name" : "Subpage",
      "regions" : [ "header", "one-sidebar", "footer" ]
    },
    "fullwidth" : {
      "name" : "Full-width",
      "regions" : [ "header", "full-width", "footer" ]
    }
  },

  "navigations" : [ {
      "title" : "Main Navigation",
      "name" : "mainNav"
  }, {
      "title" : "Secondary Navigation",
      "name" : "secondaryNav"
  } ], 

  "stylesheets" : [ "global.less", "typography.less" ]

}

Configuration Options

name The name of the template. Displayed in the Template and Developer tabs. (Required)
author The author of the template. Displayed in the Template and Developer tabs. (Required)
layouts Site layouts that consist of one or more regions. Defines the overall HTML markup. See Layouts & Regions. (Required: default layout must be defined)
layouts > name The name of the layout option as it appears in the user-editable layout select field.
layouts > regions List of region files to combine into layout (in the order they should be combined).
navigations Configures the top level navigation sections visible in the Navigation section of the interface. See Menus & Navigation.
navigations > title The name of the layout option as it appears in the user-editable layout select field.
navigations > name The navigation ID. Used to access navigation data in navigation tags and elsewhere.
stylesheets List of your stylesheet. Stylesheets will be compiled into site.css following the ordering here.

NOTE: Adding a reset stylesheet

If you add a file named reset.css to the /styles/ folder it will automatically get added to the top of the site.css file. It should not be listed in the "stylesheets" variable in template.conf