<?php
if( $this->document->getTitle() ) {
// use the manually set title if available
$this->headTitle()->set( $this->document->getTitle() );
}
if( $this->document->getDescription() ) {
// use the manually set description if available
$this->headMeta()->appendName( 'description', $this->document->getDescription() );
}
$this->headTitle()->setSeparator( ' | ' );
$actual_link = ( isset( $_SERVER[ 'HTTPS' ] ) ? "https" : "http" )."://".$_SERVER[ 'SERVER_NAME' ];
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<?php if( $this->websiteConfig( 'NoIndexNoFollow' ) ) : ?>
<meta name="robots" content="noindex,nofollow" />
<?php endif; ?>
<?= $this->headMeta(); ?>
<?= $this->headTitle(); ?>
<link rel="icon" href="<?php echo $actual_link; ?>/favicon.ico" type="image/ico">
<link rel="stylesheet" href="/theme/css/foundation.min.css" />
<link rel="stylesheet" type="text/css" href="/theme/css/slick.css">
<link rel="stylesheet" type="text/css" href="/theme/css/slick-theme.css">
<link rel="stylesheet" href="/theme/css/global.css" />
<link rel="stylesheet" type="text/css" href="/theme/fonts/webfonts.css">
<script src="/theme/js/jquery.min.js"></script>
</head>
<body>
<div id="theme-root">
<header id="theme-header">
<?php echo $this->template("Includes/header.html.php") ?>
</header>
<main id="theme-main">
<?php
$main = [
'allowed' => [
'audit',
'alternateboxes',
'anchorbar',
'awardslist',
'boxcards',
'calloutcontent',
'contactform',
'fourzerofour',
'funstuff',
'gallery',
'introcard',
'modalpagecta',
'quicktiles',
'statscontent',
'teambios',
'thankyou',
'twoimagescontent',
'videohero'
]
];
?>
<?= $this->areablock( 'main' , $main ) ?>
</main>
<footer id="theme-footer">
<div class="interior">
<?php echo $this->template("Includes/footer.html.php") ?>
</div>
</footer>
</div>
<script src="/theme/js/what-input.min.js"></script>
<script src="/theme/js/foundation.min.js"></script>
<script src="/theme/js/slick.min.js"></script>
<style>
html {
/*Page Fade In init*/
opacity: 0;
}
</style>
<script>
$(document).foundation();
console.log("Made by Grafik");
// Page Fade In
( function( $ ) {
$( window ).on( "load", function() {
$( "html" ).animate( { "opacity" : 1 } );
} );
} )( jQuery );
</script>
</body>
</html>