-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdefault.html
47 lines (46 loc) · 1.98 KB
/
default.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<title>{% block full_title %}{% block title %}{{ page.title }}{% endblock %} — {{ site.title }} — {{ site.subtitle }}{% endblock %}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="{{ site.url }}/components/require.css" rel="stylesheet" type="text/css" />
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<header>
</header>
<div class="mainContent container">
<div class="row-fluid">
{% block content_wrapper %}{% block content %}{% endblock %}{% endblock %}
</div>
</div>
<footer class="container">
Go stack some middlewares
</footer>
<script src="{{ site.url }}/components/require.js"></script>
<script type="text/javascript">
{% if site.google_analytics_tracking_id %}
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ site.google_analytics_tracking_id }}']);
_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);
})();
{% endif %}
require.config({
"baseUrl": "{{ site.url }}/components"
});
require(['highlightjs', 'bootstrap'], function(hljs) {
hljs.initHighlighting();
});
</script>
{% block scripts %}
{% endblock %}
</body>
</html>