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.

68 lines
2.7 KiB

<!doctype html>
<html lang="en"<?= property_exists($this, 'enable_appcache') ? ' manifest="teacup.appcache"' : '' ?>>
<head>
<title><?= $this->title ?></title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="pingback" href="https://webmention.io/aaronpk/xmlrpc" />
<link rel="webmention" href="https://webmention.io/aaronpk/webmention" />
<!-- <meta name="apple-mobile-web-app-capable" content="yes" /> -->
<!-- standard viewport tag to set the viewport to the device's width
, Android 2.3 devices need this so 100% width works properly and
doesn't allow children to blow up the viewport width-->
<meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" />
<!-- width=device-width causes the iPhone 5 to letterbox the app, so
we want to exclude it for iPhone 5 to allow full screen apps -->
<meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)" />
<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/bootstrap/css/bootstrap-theme.css">
<link href="/css/font-awesome/css/font-awesome.min.css" rel="stylesheet" media="all">
<link rel="stylesheet" href="/css/style.css">
<link rel="apple-touch-icon" sizes="57x57" href="/images/teacup-icon-57.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/teacup-icon-72.png">
<link rel="apple-touch-icon" sizes="114x114" href="/images/teacup-icon-114.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/teacup-icon-144.png">
<link rel="icon" href="/images/teacup-16px.png" type="image/png">
<script src="/js/jquery-1.7.1.min.js"></script>
</head>
<body role="document">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '<?= Config::$gaid ?>']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<div class="page">
<div class="container">
<?= $html=$this->fetch($this->page . '.php') ?>
</div>
<?php if(Config::$mf2Debug): ?>
<div class="narrow">
<pre><?= json_encode(Mf2\parse($html), JSON_PRETTY_PRINT) ?></pre>
</div>
<?php endif; ?>
<?php if(!property_exists($this, 'footer') || $this->footer !== false): ?>
<?= partial('partials/footer') ?>
<?php endif; ?>
</div>
</body>
</html>