You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

69 lines
2.8 KiB

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