forked from p2pu/course-in-a-box
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
62 lines (49 loc) · 2.72 KB
/
base.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
<!doctype html>
<!--[if lt IE 7 ]><html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]><html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]><html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]><html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html lang="en" class="no-js"> <!--<![endif]-->
<head>
<script type="text/javascript">var _sf_startpt = (new Date()).getTime()</script>
<meta charset="utf-8">
<!--[if IE]><meta content='IE=8' http-equiv='X-UA-Compatible' /><![endif]-->
<title>{{ site.data.course.title|strip_html }}{% if page.title %} | {{ page.title|strip_html }}{% endif %}</title>
{% if site.data.course.description %}<meta name="description" content="{{ site.data.course.description | strip_html}}">{% endif %}
<meta name="author" content="{{ site.github.owner_name }}">
<meta property="og:title" content="{{ site.data.course.title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ site.github.url }}" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="shortcut icon" href="{{ site.baseurl }}/img/favicon.ico">
<link rel="stylesheet" href="{{ site.baseurl }}/css/p2pustrap-custom.css" />
<link rel="stylesheet" href="{{ site.baseurl }}/css/site.css" />
{% if page.extra_css %}
{% for css in page.extra_css %}
<link rel="stylesheet" href="{{ site.baseurl }}{{ css }}" />
{% endfor %}
{% endif %}
<link rel="shortcut icon" href="{{ site.baseurl }}/img/favicon.ico">
<script type="text/javascript" src="{{ site.baseurl }}/js/modernizr-2.6.2.min.js"></script>
</head>
<body {% if page.itemtype %}itemscope itemtype="{{ page.itemtype }}"{% endif %}
class="d-flex flex-column min-vh-100">
{% include navigation.html %}
{{ content }}
{% include footer.html %}
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<script src="{{site.baseurl}}/js/gh_link_helper.js"></script>
{% if page.extra_js %}
{% for js in page.extra_js %}
<script src="{{site.baseurl}}{{js}}"></script>
{% endfor %}
{% endif %}
<!-- Google Analytics -->
{% if site.ga_tracking_code or site.p2pu_ga_tracking_code %}
{% include ga.html %}
{% endif %}
</body>
</html>