Skip to main content

Master Page

The tempalte file structure is the following:​

The master page is the file that is being executed for every call on every page. Here you can add all the scripts and styles.

<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>

{global:Site.Title /}

{:PageName}

{global:Site}
{:Description}
{block:Tags}
{block:Tag}
{:Value}
{/block:Tag}
{/block:Tags}
{:Icon}
{/global:Site}

{container:Meta /}
</head>
<body>
{container:Menu /}

{container:Content /}

{container:Footer /}

</body>
</html>

Where:

  • container - are placeholders for the contents of the objects with the same name.
  • global - is a global object that is holding data about the current page etc. see Global
  • PageName - is a property that is holding the name of the page, page title.