<!DOCTYPE html>
<html lang="fr">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0">

    <title><?= $site->title()->esc() ?></title>
    <meta name="description" content="<?= $site->description()->esc() ?>">

    <meta name="generator" content="Kirby (<?= Kirby::version() ?>)">
    <meta name="robots" content="noindex nofollow">

    <link rel="icon" href="/assets/favicons/favicon.ico" sizes="any">
    <link rel="icon" href="/favicon.svg" type="image/svg+xml">
    <link rel="apple-touch-icon" href="/assets/favicons/apple-touch-icon.png">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="apple-mobile-web-app-title" content="<?= $site->title()->esc() ?>">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <link rel="apple-touch-icon" href="/assets/favicons/apple-touch-icon.png">
    <link rel="manifest" href="/manifest.webmanifest">
    <meta name="theme-color" content="#FFFFFF">

    <?php if (Dir::exists('assets/dist')): ?>
      <script type="module" src="<?= url('assets/dist/index.js') ?>" defer></script>
      <link rel="stylesheet" href="<?= url('assets/dist/index.css') ?>">
    <?php else: ?>
      <script type="module" src="http://localhost:5173/@vite/client" defer></script>
      <script type="module" src="http://localhost:5173/src/main.js" defer></script>
    <?php endif ?>

    <script>
      if (location.href.includes('goguely')) {
        location.href = 'https://designtopack.morphozbygroupepochet.com' + location.pathname
      }
    </script>
  </head>
<body>
