1 <?php
2 /**
3  * Flat for Dokuwiki Template 2021
4  *
5  * @link     http://dokuwiki.org/template
6  * @author   beemoon and co <contact@beemoon.fr>
7  * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
8  */
9 
10 if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
11 header('X-UA-Compatible: IE=edge,chrome=1');
12 
13 $hasSidebar = page_findnearest($conf['sidebar']);
14 $showSidebar = $hasSidebar && ($ACT=='show');
15 ?><!DOCTYPE html>
16 <html lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
17 <head>
18     <meta charset="utf-8" />
19     <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
20     <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
21     <?php tpl_metaheaders() ?>
22     <meta name="viewport" content="width=device-width,initial-scale=1" />
23     <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
24     <?php tpl_includeFile('meta.html') ?>
25 
26 	<style type="text/css">
27 		img.wp-smiley,img.emoji{
28 			display:inline !important;
29 			border:none !important;
30 			box-shadow:none !important;
31 			height:1em !important;
32 			width:1em !important;
33 			margin:0.07em !important;
34 			vertical-align:-0.1em !important;
35 			background:none !important;
36 			padding:0!important}
37 
38 		@font-face {
39 		  font-family: 'FontAwesome';
40 		  src: url('<?php echo DOKU_TPL ?>assets/fonts/fontawesome-webfont.eot?v=4.3.0');
41 		  src: url('<?php echo DOKU_TPL ?>assets/fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), url('<?php echo DOKU_TPL ?>assets/fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'), url('<?php echo DOKU_TPL ?>assets/fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'), url('<?php echo DOKU_TPL ?>assets/fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'), url('<?php echo DOKU_TPL ?>assets/fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');
42 		  font-weight: normal;
43 		  font-style: normal;
44 		}
45 	</style>
46 
47 	<link rel='stylesheet' id='flat-fonts-css' href='https://fonts.googleapis.com/css?family=Yesteryear%7CLato:400,700%7CBitter%7COpen+Sans+Condensed' media='all' />
48 	<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'></script>
49 	<script src="<?php echo DOKU_TPL."assets/js/flat.js"; ?>" ></script>
50 
51 
52 </head>
53 
54 <body class="blog custom-background" itemscope itemtype="http://schema.org/WebPage">
55 
56 <div id="dokuwiki__site">
57 	<div id="dokuwiki__top">
58 		<div id="page">
59 			<div class="container">
60 			<div class="row row-offcanvas row-offcanvas-left">
61 
62 				<?php include('tpl_header.php') ?>
63 
64 <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
65 <div id="screen__mode" class="no"><?php /* helper to detect CSS media query in script.js */ ?></div>
66 
67 </body>
68 </html>
69