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.

71 lines
2.7 KiB

6 years ago
10 years ago
6 years ago
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <title><?= $this->title ?></title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <link rel="pingback" href="https://webmention.io/aaronpk/xmlrpc" />
  8. <link rel="webmention" href="https://webmention.io/aaronpk/webmention" />
  9. <!-- <meta name="apple-mobile-web-app-capable" content="yes" /> -->
  10. <!-- standard viewport tag to set the viewport to the device's width
  11. , Android 2.3 devices need this so 100% width works properly and
  12. doesn't allow children to blow up the viewport width-->
  13. <meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" />
  14. <!-- width=device-width causes the iPhone 5 to letterbox the app, so
  15. we want to exclude it for iPhone 5 to allow full screen apps -->
  16. <meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)" />
  17. <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
  18. <link rel="stylesheet" href="/bootstrap/css/bootstrap-theme.css">
  19. <link href="/css/font-awesome/css/font-awesome.min.css" rel="stylesheet" media="all">
  20. <link rel="stylesheet" href="/css/style.css">
  21. <link rel="apple-touch-icon" sizes="57x57" href="/images/teacup-icon-57.png">
  22. <link rel="apple-touch-icon" sizes="72x72" href="/images/teacup-icon-72.png">
  23. <link rel="apple-touch-icon" sizes="114x114" href="/images/teacup-icon-114.png">
  24. <link rel="apple-touch-icon" sizes="144x144" href="/images/teacup-icon-144.png">
  25. <link rel="manifest" href="/manifest.json">
  26. <link rel="icon" href="/images/teacup-16px.png" type="image/png">
  27. <script src="/js/jquery-1.7.1.min.js"></script>
  28. <script src="/js/localforage.js"></script>
  29. </head>
  30. <body role="document">
  31. <script type="text/javascript">
  32. var _gaq = _gaq || [];
  33. _gaq.push(['_setAccount', '<?= Config::$gaid ?>']);
  34. _gaq.push(['_trackPageview']);
  35. (function() {
  36. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  37. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  38. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  39. })();
  40. </script>
  41. <div class="page">
  42. <div class="container">
  43. <?= $html=$this->fetch($this->page . '.php') ?>
  44. </div>
  45. <?php if(Config::$mf2Debug): ?>
  46. <div class="narrow">
  47. <pre><?= json_encode(Mf2\parse($html), JSON_PRETTY_PRINT) ?></pre>
  48. </div>
  49. <?php endif; ?>
  50. <?php if(!property_exists($this, 'footer') || $this->footer !== false): ?>
  51. <?= partial('partials/footer', $this) ?>
  52. <?php endif; ?>
  53. </div>
  54. </body>
  55. </html>