Custom static pages

From TITAN Wiki
Jump to: navigation, search
Custom page in TITAN

Customizing static pages view involves two steps:

  1. Edit Sites.master template file
  2. Edit particular site view in /sites folder

Site.master is parent template for all static pages in TITAN. The most important part of the code is:

<asp:ContentPlaceHolder ID="MainContent" runat="server"></asp:ContentPlaceHolder>

It's a placeholder for your page content.

Contents of each .aspx file in /sites folder is the actual content of your static page. In runtime it's being embedded into Sites.master rendering your static page.

See also