app/Resources/views/Default/default.html.php line 37

Open in your IDE?
  1. <?php
  2.     if( $this->document->getTitle() ) {
  3.         // use the manually set title if available
  4.         $this->headTitle()->set$this->document->getTitle() );
  5.     }
  6.     if( $this->document->getDescription() ) {
  7.         // use the manually set description if available
  8.         $this->headMeta()->appendName'description'$this->document->getDescription() );
  9.     }
  10.     $this->headTitle()->setSeparator' | ' );
  11.     $actual_link = ( isset( $_SERVER'HTTPS' ] ) ? "https" "http" )."://".$_SERVER'SERVER_NAME' ];
  12. ?>
  13. <!doctype html>
  14. <html class="no-js" lang="en">
  15.     <head>
  16.         <meta charset="utf-8" />
  17.         <meta http-equiv="x-ua-compatible" content="ie=edge">
  18.         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  19.         <?php if( $this->websiteConfig'NoIndexNoFollow' ) ) : ?>
  20.             <meta name="robots" content="noindex,nofollow" />
  21.         <?php endif; ?>
  22.         <?= $this->headMeta(); ?>
  23.         <?= $this->headTitle(); ?>
  24.         <link rel="icon" href="<?php echo $actual_link?>/favicon.ico" type="image/ico">
  25.         <link rel="stylesheet" href="/theme/css/foundation.min.css" />
  26.         <link rel="stylesheet" type="text/css" href="/theme/css/slick.css">
  27.         <link rel="stylesheet" type="text/css" href="/theme/css/slick-theme.css">
  28.         <link rel="stylesheet" href="/theme/css/global.css" />
  29.         <link rel="stylesheet" type="text/css" href="/theme/fonts/webfonts.css">
  30.         <script src="/theme/js/jquery.min.js"></script>
  31.     </head>
  32.     <body>
  33.         <div id="theme-root">
  34.             <header id="theme-header">
  35.                         <?php echo $this->template("Includes/header.html.php"?>
  36.             </header>
  37.             <main id="theme-main">
  38.                 <?php
  39.                     $main = [
  40.                         'allowed' => [
  41.                             'audit',
  42.                             'alternateboxes',
  43.                             'anchorbar',
  44.                             'awardslist',
  45.                             'boxcards',
  46.                             'calloutcontent',
  47.                             'contactform',
  48.                             'fourzerofour',
  49.                             'funstuff',
  50.                             'gallery',
  51.                             'introcard',
  52.                             'modalpagecta',
  53.                             'quicktiles',
  54.                             'statscontent',
  55.                             'teambios',
  56.                             'thankyou',
  57.                             'twoimagescontent',
  58.                             'videohero'
  59.                         ]
  60.                     ];
  61.                 ?>
  62.                 <?= $this->areablock'main' $main ?>
  63.             </main>
  64.             <footer id="theme-footer">
  65.                     <div class="interior">
  66.                         <?php echo $this->template("Includes/footer.html.php"?>
  67.                     </div>
  68.             </footer>
  69.         </div>
  70.         <script src="/theme/js/what-input.min.js"></script>
  71.         <script src="/theme/js/foundation.min.js"></script>
  72.         <script src="/theme/js/slick.min.js"></script>
  73.         <style>
  74.             html {
  75.                 /*Page Fade In init*/
  76.                 opacity: 0;
  77.             }
  78.         </style>
  79.         <script>
  80.             $(document).foundation();
  81.             console.log("Made by Grafik");
  82.             // Page Fade In
  83.             ( function( $ ) {
  84.                 $( window ).on( "load", function() {
  85.                     $( "html" ).animate( { "opacity" : 1 } );
  86.                 } );
  87.             } )( jQuery );
  88.         </script>
  89.     </body>
  90. </html>