In Umbraco the templates control the layout and html used within the site, often you will have a template for each type of page your site has.
In order to reduce the amount of duplication and changes you need to make it is often advisable to use a nested template structure, so each page template inherits certain things from its parent.
This allows you to define things like logo’s menus and master style sheets at one level and have everything below that level inherits those items.
The templates in this starter kit are described below
At the top most level the ulgMasterView template defines what’s in the core of every page. This starter kit is built upon the top of Bootstrap so the ulgMasterView is built to be the core bootstrap elements needed on all pages of the site
The only template (at this time) to inherit from the master is ulgDesign, which contains the design of the site.
Keeping the design and the core bootstrap features separate allows (in theory) for you to swap out elements such as the version of bootstrap without having to make fundamental changes to the design elements of your site.
Underneath the design the templates are in groups depending on their layout and behaviour, the main groups are
You don’t have to separate out the pages at this level, it depends very much on the design, if for example you chose not to have the left hand navigation then the layouts would in all likelihood be much simpler and not require this extra level of separation
In each page group there are a number of page templates – these templates render the actual page, and are usually mapped as the default template for a specific document type, because most of the layout has been defined on the parent page templates these templates can be very simple and concentrate on delivering the content to the page.