A Governor Theme is a collection of files that defines not only the look and feel, as well as data models for Governor websites. This allows a theme developer to create beautiful dynamic websites editable through an easy to use CMS interface. A theme primarily consists of two parts: templates and assets.
Assets are static assets/content associated with the the theme. Some examples of this include JS Libraries, CSS Files, and static layout images. The assets folder can be filled with as many folders and static files as needed to support your theme.
Templates are special GovTagged html files that define the apperance and data model for Governor sites. Templates are tagged with govTags to enable rich CMS functionality through simple markup. There are two types of templates: Layouts and Pages, and each type serves a different purpose.
Layout templates define the appearance and data model for the overall layout and structure of a Governor site. The layout templates typically include the header, footer, logo, and menu, as well as any other sections that appear on all pages of a website.
Page templates define the appearance and data model for individual pages created in the Governor system. When a user creates a new page, they must choose a template for the page. This template is then used to enable CMS Controls the user can fill, as well as to display the data once entered.