This repository has been archived by the owner on Nov 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtemplate.html
87 lines (81 loc) · 3.13 KB
/
template.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><%=title%></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/.assets/favicon.ico" rel="icon" type="image/ico">
<% if(useMin){ %>
<link href="/.assets/style/markshow.min.css" rel="stylesheet">
<% } else { %>
<link href="/.assets/style/markshow.css" rel="stylesheet">
<% } %>
<script type="text/javascript">
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-35936407-1']); _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>
<header class="navbar navbar-default bs-docs-nav" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="../" class="navbar-brand">MarkShow</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li <%= (url.split('/Usage')[0]=='') ? 'class="active"' : '' %>>
<a href="/Usage">Usage</a>
</li>
<li <%= (url.split('/Specification')[0]=='') ? 'class="active"' : '' %>>
<a href="/Specification">Specification</a>
</li>
<li <%= (url.split('/Examples')[0]=='') ? 'class="active"' : '' %>>
<a href="/Examples">Examples</a>
</li>
<li <%= (url.split('/Contributing')[0]=='') ? 'class="active"' : '' %>>
<a href="/Contributing">Contribute</a>
</li>
</ul>
<ul class="nav navbar-nav pull-right">
<li>
<a href="https://github.com/ericvicenti/markshow">Fork us on <i class="icon-github-sign"></i> GitHub!</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="list-group">
<% _.each(links, function(link){ %>
<% if(link.name=='') return; %>
<% if(link.bold){ link.name = '<b>'+link.name+'</b>'; } %>
<a class="list-group-item <%= link.active ? 'active' : '' %>" href="<%=link.url%>"><%=link.name%></a>
<% }); %>
</div>
</div>
<div class="col-md-8">
<%=body%>
</div>
</div>
<hr style="margin-top:50px;">
</div>
<div style="text-align: center; color: grey; margin-bottom: 50px; font-size: 12px;">Copyright © 2012-2013 Eric Vicenti. <a href="/License">MIT Licensed</a>.</div>
<% if(useMin){ %>
<script src="/.assets/js/main.min.js"></script>
<% } else { %>
<script src="/.assets/js/main.js"></script>
<% } %>
</body>
</html>