sterzycom/site/snippets/header.php

65 lines
2.3 KiB
PHP
Raw Normal View History

2015-11-29 20:38:31 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html; charset=utf-8">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title><?php echo $site->title()->html() ?> | <?php echo $page->title()->html() ?></title>
<meta name="description" content="<?php echo $site->description()->html() ?>">
<meta name="keywords" content="<?php echo $site->keywords()->html() ?>">
<link rel="alternate" type="application/rss+xml" href="<?php echo url('notes/feed') ?>" title="<?php echo html($pages->find('notes/feed')->title()) ?>" />
<link rel="shortcut icon" href="<?php echo url('assets/img/icons/logo.svg') ?>" type="image/svg">
<link rel="icon" href="<?php echo url('assets/img/icons/logo100.png') ?>" type="image/png">
<link rel="apple-touch-icon" href="<?php echo url('assets/img/icons/logo200.png') ?>" type="image/png">
<?php echo css(array(
'assets/css/main.css',
2017-07-28 15:00:22 +02:00
'assets/css/mobile.css',
'assets/css/prism.css'
2015-11-29 20:38:31 +01:00
)) ?>
2017-08-04 18:57:46 +02:00
<script type="text/javascript"></script>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//sterzy.com/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->
2015-11-29 20:38:31 +01:00
</head>
<body class="preload" onload="document.body.className = '';">
<!--[if lte IE 9]>
<div class="browserupdate">
You are using an obsolete browser which can harm your experience and cause security trouble. Please <a href="http://browsehappy.com/" target="_blank">update your browser!</a>
</div>
<![endif]-->
<header class="header" role="banner" id="header" >
<div class="shader">
<a href="<?php echo url() ?>">
<div id="holders">
<div class="dots"></div>
<div class="pulses"></div>
</div>
</a>
<div class="description" ><?php echo $site->description()->kirbytext() ?></div>
<?php snippet('menu') ?>
</div>
</header>