@using Zap.BI.Portal.Helpers
<!DOCTYPE html>
<html lang="en">
<head>
    @if (ViewBag.BaseUrl != null)
    {
        <base href="@ViewBag.BaseUrl" />
    }
    else
    {
        <base href="~/" />
    }
    <meta http-equiv="X-UA-Compatible" content="IE=100,chrome=IE8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <link rel="apple-touch-icon" href="@Url.Action("HomeScreenIcon", "Branding")" />
    <meta name="mobile-web-app-capable" content="yes">@*Chrome 'Add to homescreen'*@
    <meta name="theme-color" content="#FFFFFF"/>
    <meta name="robots" content="noindex,nofollow" />
    <link href="@Url.Action("Index", "Manifest")" rel="manifest" crossorigin="use-credentials"/>
    <title>@(ViewBag.PageTitle as string)</title>
    <link href="@Url.Action("FavIcon", "Branding")" rel="shortcut icon" />
    
    @RenderSection("Css")
    @RenderSection("Scripts")

    @if (PortalSwitch.ServeFonts.Enabled)
    {
        <link href="@Url.Action("Css", "Font")" rel="stylesheet" type="text/css" />
    }
</head>
<body touch-action="pan-x pan-y pinch-zoom">
    @RenderBody()
</body>
</html>
