Layout

Front-end developers have complete markup control

The most common approach to ensuring the same "look and feel" of pages across a website or even multiple website is, of course, use of page templates.

When you create a page in C1 CMS, you can choose between page templates available on the website.

You can create and edit the page templates from the Layout perspective. The template usually:

  • lays out parts of the page
  • styles the page
  • adds some behavior to the page

Normally, the styles, formats, behavior, etc are kept in separate stylesheet (CSS, LESS) and script (JavaScript) files in corresponding subsfolders at ~/Frontend. They are then linked to, and used, in the page templates.

In C1 CMS, you can use different technologies to create page layout templates:

  • ASP.NET Razor
  • ASP.NET Master Pages
  • XML/XHTML

To the end user of templates (for example, a content writer who edits a page), these technologies are transparent.

In this section you will find information about creating and using page layout templates in C1 CMS using these technologies (ASP.NET Razor, ASP.NET Master Pages, XML/XHTML). 

You will also "dive" into working with markup of templates as well as learn about creating and using page template features.

In addition, you will learn how to create page types as well as how to localize different parts of your website.