-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticle.html
60 lines (50 loc) · 1.37 KB
/
article.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
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<meta name="google" value="notranslate">
<link rel="icon" type="image/png" href="img/favicon.png" />
<title><@=title></title>
<@=dependencies>
<script>
window.console = window.console || function(t) {};
window.open = function(){ console.log("window.open is disabled."); };
window.print = function(){ console.log("window.print is disabled."); };
</script>
<script>
var app = angular.module('app', ['hljs']);
</script>
</head>
<body ng-app="app" data-spy="scroll" data-target=".scrollspy">
<@=navbar>
<div class="container row">
<div class="col-md-4 scrollspy pull-right">
<ul id="nav" class="nav hidden-xs hidden-sm" data-spy="affix">
<@=navigation>
</ul>
</div>
<div class="col-md-8" id="content">
<div class="jumbotron">
<div class="container">
<h1><@=title></h1>
<h4><@=subtitle></h4>
</div>
</div>
<@=article>
</div>
</div><!--end of .container-->
</body>
<script>
$('#nav').affix({
offset: {
top: $('#nav').offset().top,
bottom: $('footer').outerHeight(true) + $('.application').outerHeight(true) + 40
}});
</script>
<script>
if (document.location.search.match(/type=embed/gi)) {
window.parent.postMessage("resize", "*");
}
</script>
</body>
</html>