-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathhead.html
68 lines (59 loc) · 2.71 KB
/
head.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
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if page.title == site.title %}
<title>{{ site.title }} | Carnegie Mellon University</title>
{% else %}
<title>{{ page.title }} - {{ site.title }}</title>
{% endif %}
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/app.css">
<link rel="stylesheet" href="/assets/lite-youtube/lite-yt-embed.css" />
<link rel="shortcut icon" type="image/ico" href="/img/favicon/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png">
<link rel="manifest" href="/img/favicon/site.webmanifest">
<link rel="mask-icon" href="/img/favicon/safari-pinned-tab.svg" color="#cc002b">
<meta name="msapplication-TileColor" content="#b91d47">
<meta name="theme-color" content="#ffffff">
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<script src="/assets/lite-youtube/lite-yt-embed.js"></script>
{% if page.datatable == true %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Include the standard DataTables bits -->
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.13/css/jquery.dataTables.css">
<script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.13/js/jquery.dataTables.js"></script>
<script>
$(document).ready(function () {
$('div.datatable-begin').nextUntil('div.datatable-end', 'table').addClass('display');
$('table.display').DataTable({
paging: false,
stateSave: true,
searching: true
});
});
</script>
{% endif %}
{% if page.link-new-tab == true %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function () {
$('.content a').attr({'target':'_blank', 'rel':'noopener noreferrer'});
});
</script>
{% endif %}
{% seo %}
{%- if site.google_analytics and jekyll.environment == "production" -%}
{%- include google-analytics.html -%}
{%- endif -%}
{%- include head-scripts.html -%}
<!-- for mathjax support -->
{% if page.usemathjax %}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } }
});
</script>
<script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
{% endif %}
</head>