blob: 7ff63129d5c50757b0858490b5e6f6fd8b523336 (
plain) (
blame)
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
|
<head>
<link href="/assets/css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css">
<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
<link href="/assets/css/code.css" rel="stylesheet" type="text/css">
<link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css"/>
<link href="/assets/css/theme.css" rel="stylesheet" type="text/css"/>
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
<script src="/assets/js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/jquery.mustache/0.2.7/jquery.mustache.js"></script>
<script src="//cdn.jsdelivr.net/mustache.js/0.7.2/mustache.js"></script>
<script src="/assets/js/jquery.colorbox-min.js" type="text/javascript"></script>
<script type="text/javascript">
function load_data(dataurl) {
jQuery.getJSON(dataurl, function(data) {
$('body').mustache('view', data, { method: 'html' });
window.location.hash = '#' + dataurl;
})
};
$(document).ready(function() {
$.Mustache.load('/mustache-template.html')
.done(function () {
if (window.location.hash != '') {
load_data(window.location.hash.slice(1));
}
else {
load_data('{{first_post_data}}');
};
})
});
</script>
</head>
<body style="padding-top: 0;">
</body>
|