-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathdefault.html
More file actions
43 lines (39 loc) · 1.64 KB
/
default.html
File metadata and controls
43 lines (39 loc) · 1.64 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% if page.title %} {{ page.title }} -{% endif %} Solid</title>
<meta name="description" content="<%= description %>" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/styles/github.min.css">
<link rel="icon" type="image/png" href="/favicon.ico">
</head>
<body class="fill-gray-lighter">
{% include nav.html %}
<div class="xs-col-12 sm-col-9 lg-col-10 sm-offset-3 lg-offset-2">
<div class="xs-col-11 xs-py3 xs-px1 xs-mx-auto xs-my2 md-my4 card">
<h1 class="xs-col-11 sm-col-10 xs-mx-auto xs-border-bottom xs-pb3 xs-mb4 sm-my4">{{ page.title }}</h1>
<div class="xs-col-11 sm-col-10 xs-mx-auto">
{{ content }}
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="javascript/main.js"></script>
<!--Code Highlighting-->
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/highlight.min.js"></script>
<script src="javascript/codehighlight.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<!--Show/Hide Nav on Mobile and Flip Caret-->
<script type="text/javascript">
var _target = '.solid-header--mobile';
var _menu = '.solid-nav';
var _className = 'solid-nav--show';
$(document).ready(function(){
$(_target).on('click', function(){
$(_menu).toggleClass(_className);
});
});
</script>
</body>
</html>