{* assets/templates/main.tpl *}
<!DOCTYPE html>
<html lang="en">
<head>
    {include file='file:assets/templates/head_meta.tpl'}
</head>
<body>
    {include file='file:assets/templates/header.tpl'}

    <main id="content">
        {content} {* This is the "switch" *}
    </main>

    {include file='file:assets/templates/footer.tpl'}
</body>
</html>