2015-04-23 10:24:50 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
|
|
|
|
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
|
|
|
|
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
|
|
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
|
|
|
<head>
|
2015-07-20 15:59:52 +02:00
|
|
|
<title><?= $page['title']; ?></title>
|
|
|
|
<meta name="description" content="<?= $params['tagline']; ?>" />
|
|
|
|
<meta name="author" content="<?= $params['author']; ?>">
|
2015-04-23 10:24:50 +02:00
|
|
|
<meta charset="UTF-8">
|
2015-07-20 15:59:52 +02:00
|
|
|
<link rel="icon" href="<?= $params['theme']['favicon']; ?>" type="image/x-icon">
|
2015-04-23 10:24:50 +02:00
|
|
|
<!-- Mobile -->
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
|
|
|
<!-- Font -->
|
2015-07-20 15:59:52 +02:00
|
|
|
<?php foreach ($params['theme']['fonts'] as $font) {
|
|
|
|
echo "<link href='$font' rel='stylesheet' type='text/css'>";
|
|
|
|
} ?>
|
2015-04-23 10:24:50 +02:00
|
|
|
|
|
|
|
<!-- CSS -->
|
2015-07-20 15:59:52 +02:00
|
|
|
<?php foreach ($params['theme']['css'] as $css) {
|
|
|
|
echo "<link href='$css' rel='stylesheet' type='text/css'>";
|
|
|
|
} ?>
|
2015-04-23 10:24:50 +02:00
|
|
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
</head>
|
2015-08-13 23:03:19 +02:00
|
|
|
<body class="<?= $params['html']['float'] ? 'with-float' : ''; ?>">
|
2015-04-23 10:24:50 +02:00
|
|
|
<?= $this->section('content'); ?>
|
|
|
|
|
2015-07-20 15:59:52 +02:00
|
|
|
<?php
|
|
|
|
if ($params['html']['google_analytics']) {
|
|
|
|
$this->insert('theme::partials/google_analytics', ['analytics' => $params['html']['google_analytics'], 'host' => array_key_exists('host', $params) ? $params['host'] : '']);
|
|
|
|
}
|
|
|
|
if ($params['html']['piwik_analytics']) {
|
2015-07-19 16:36:34 +02:00
|
|
|
$this->insert('theme::partials/piwik_analytics', ['url' => $params['html']['piwik_analytics'], 'id' => $params['html']['piwik_analytics_id']]);
|
2015-07-20 15:59:52 +02:00
|
|
|
}
|
|
|
|
?>
|
2015-04-23 10:24:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
<!-- jQuery -->
|
2015-08-09 22:19:06 +02:00
|
|
|
<?= '<script src="' . $base_url . 'themes/daux/js/jquery-1.11.3.min.js' . '"></script>' ?>
|
2015-04-23 10:24:50 +02:00
|
|
|
|
|
|
|
<!-- hightlight.js -->
|
2015-08-06 22:47:38 +02:00
|
|
|
<script src="<?= $base_url; ?>themes/daux/js/highlight.min.js"></script>
|
2015-04-23 10:24:50 +02:00
|
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
|
|
|
|
|
|
<!-- JS -->
|
2015-07-20 15:59:52 +02:00
|
|
|
<?php foreach ($params['theme']['js'] as $js) {
|
|
|
|
echo '<script src="' . $js . '"></script>';
|
|
|
|
} ?>
|
2015-04-23 10:24:50 +02:00
|
|
|
|
2015-08-06 22:47:38 +02:00
|
|
|
<script src="<?= $base_url; ?>themes/daux/js/daux.js"></script>
|
2015-04-23 10:24:50 +02:00
|
|
|
</body>
|
|
|
|
</html>
|