{if !$customPage}
  <!-- Styling -->
  <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap" rel="stylesheet">
  <link href="{assetPath file='all.min.css'}?v={$versionHash}" rel="stylesheet">
  <link href="{assetPath file='theme.min.css'}?v={$versionHash}" rel="stylesheet">
  <link href="{$WEB_ROOT}/assets/css/fontawesome-all.min.css" rel="stylesheet">
  {include file="$template/$template/includes/head.tpl"}
  {assetExists file="custom.css"}
  <link href="{$__assetPath__}" rel="stylesheet">
  {/assetExists}
{else}
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="author" content="crowbarcode">
  <meta name="description" content="inexus, template, templates, crowbarcode">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  {if $authPage}
  <link href="{assetPath file='all.min.css'}?v={$versionHash}" rel="stylesheet">
  {/if}
  {include file="$template/$template/includes/head.tpl"}
{/if}

<script>
    var csrfToken = '{$token}',
        markdownGuide = '{lang|addslashes key="markdown.title"}',
        locale = '{if !empty($mdeLocale)}{$mdeLocale}{else}en{/if}',
        saved = '{lang|addslashes key="markdown.saved"}',
        saving = '{lang|addslashes key="markdown.saving"}',
        whmcsBaseUrl = "{\WHMCS\Utility\Environment\WebHelper::getBaseUrl()}",
        requiredText = '{lang|addslashes key="orderForm.required"}',
        recaptchaSiteKey = "{if $captcha}{$captcha->recaptcha->getSiteKey()}{/if}";
</script>
<script src="{assetPath file='scripts.min.js'}?v={$versionHash}"></script>
{if $templatefile == "viewticket" && !$loggedin}
  <meta name="robots" content="noindex" />
{/if}