msm/_layouts/default.html

81 lines
4.2 KiB
HTML
Raw Normal View History

2012-07-15 00:14:31 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
2012-08-08 13:53:54 +00:00
<title>{{ page.title_prefix }}{{ page.title }}{{ page.title_postfix }}</title>
2012-07-15 00:14:31 +00:00
<meta name="description" content="">
<meta name="author" content="Marcus Whybrow">
<link rel="author" href="https://plus.google.com/103832793361409130288/posts">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap-responsive.min.css">
2012-07-15 00:14:31 +00:00
<!--[if lt IE 9]>
<script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32675598-2']);
2012-11-03 17:26:52 +00:00
_gaq.push(['_setDomainName', 'msmhq.com']);
_gaq.push(['_setAllowLinker', true]);
2012-07-15 00:14:31 +00:00
_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>
</head>
<body class="{% if page.tab %}section-{{ page.tab }}{% endif %}">
2012-07-15 00:14:31 +00:00
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="{{ site.baseurl }}/">MSM</a>
2012-07-15 23:34:51 +00:00
<ul class="nav">
<li{% if page.tab == "overview" %} class="active"{% endif %}><a href="{{ site.baseurl }}/">Overview</a></li>
<li{% if page.tab == "blog" %} class="active"{% endif %}><a href="{{ site.baseurl }}/blog/">Blog</a></li>
<li{% if page.tab == "docs" %} class="active"{% endif %}><a href="{{ site.baseurl }}/docs/">Docs</a></li>
<li><a href="http://msm.tenderapp.com/">Support</a></li>
2012-07-15 23:34:51 +00:00
</ul>
2012-07-15 00:14:31 +00:00
</div>
</div>
</div>
<div class="container content">
2012-07-15 00:14:31 +00:00
{{ content }}
{% if page.footer != 'hide' %}
<footer class="footer">
<p>Code licensed under the <a class="ga-track" href="http://www.gnu.org/copyleft/gpl.html" target="_blank">General Public Licence v3</a>. Documentation licensed under <a class="ga-track" href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p>You may have noticed this design approach is a shamless reworking of <a class="ga-track" href="http://twitter.github.com/bootstrap/">Twitter's Bootstrap</a> github page.</p>
<p>Icons from <a class="ga-track" href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a class="ga-track" href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
</footer>
{% endif %}
2012-07-15 00:14:31 +00:00
</div>
<script type="text/javascript" src="http://widget.uservoice.com/PV3DwOMKgbtdnsS4oZBew.js" async="true"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.0.3/bootstrap.min.js"></script>
<script type="text/javascript">
// jquery-1.7.2.min.js local fallback
2012-11-03 17:03:51 +00:00
typeof jQuery == 'undefined' && document.write('<script src="{{ site.baseurl }}/assets/js/jquery-1.7.2.min.js" type="text/javascript"><\/script>');
2012-07-15 00:14:31 +00:00
// bootstrap.min.js local fallback
2012-11-03 17:03:51 +00:00
typeof jQuery != 'undefined' && typeof jQuery.fn.modal == 'undefined' && document.write('<script src="{{ site.baseurl }}/assets/js/bootstrap.min.js" type="text/javascript"><\/script>');
2012-07-15 00:14:31 +00:00
</script>
2012-11-03 17:03:51 +00:00
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/index.js"></script>
2012-11-04 02:15:35 +00:00
<!-- Google Plus Buttons -->
<script type="text/javascript">
window.___gcfg = {lang: 'en-GB'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
2012-07-15 00:14:31 +00:00
</body>
</html>