<!DOCTYPE html>
<html>
<head>
    <!-- Page Metadata -->
    <title>{{{title}}}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <link rel="icon" href="icons/vtt.png">

    <!-- Included Stylesheets -->
    {{#each styles}}
    <link href="{{this.src}}" rel="stylesheet" type="text/css" media="all">
    {{/each}}

    <!-- Included Scripts -->
    {{#each scripts}}
    <script defer src="{{this.src}}"{{#if this.isModule}} type="{{this.type}}"{{/if}}></script>
    {{/each}}

    <!-- Global Variables -->
    <script>
    const SIGNED_EULA={{eula}};
    const ROUTE_PREFIX="{{routePrefix}}";
    const MESSAGES={{#if messages}}{{{messages}}}{{else}}null{{/if}};
    </script>
</head>
<body class="{{ bodyClass }}" style="{{ bodyStyle }}">
    {{{body}}}
    {{#if watermark}}
    <footer class="watermark">{{watermark}}</footer>
    {{/if}}
    <aside id="tooltip" role="tooltip"></aside>
</body>
</html>
