head.php 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. ?>
  10. <meta charset="utf-8">
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  12. <meta name="viewport" content="initial-scale=1, maximum-scale=1">
  13. <meta name="apple-mobile-web-app-capable" content="yes">
  14. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  15. <title><?= \Yii::$app->view->title; ?></title>
  16. <link rel="shortcut icon" href="<?= Yii::$service->url->getUrl('favicon.ico'); ?>">
  17. <link rel="apple-touch-icon" href="<?= Yii::$service->url->getUrl('apple-touch-icon.png'); ?>">
  18. <meta name="robots" content="INDEX,FOLLOW" />
  19. <!-- Global site tag (gtag.js) - Google Analytics -->
  20. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-159325062-2"></script>
  21. <script>
  22. window.dataLayer = window.dataLayer || [];
  23. function gtag(){dataLayer.push(arguments);}
  24. gtag('js', new Date());
  25. gtag('config', 'UA-159325062-2');
  26. </script>
  27. <?php $parentThis->head() ?>
  28. <?= Yii::$service->userfrom->savePageData(); ?>