-
-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathhead.html
More file actions
123 lines (103 loc) · 4.56 KB
/
head.html
File metadata and controls
123 lines (103 loc) · 4.56 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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<head>
<!-- This page was last built at {{ "now" | date: "%Y-%m-%d %H:%M" }} -->
<meta charset="utf-8" />
<link rel="canonical" href="https://plotly.com{{page.url}}" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,500&display=swap" rel="stylesheet" />
<!-- Media query magic - http://stackoverflow.com/questions/19945658/my-iphone-thinks-its-980px-wide -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="/all_static/javascripts/algolia/instantsearch.js"></script>
<script src="/all_static/javascripts/algolia/polyfill.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script>
const theme = localStorage.getItem('theme');
if (theme === "dark-mode") {
var root = document.getElementsByTagName('html')[0]; // '0' to assign the first (and only `HTML` tag)
root.setAttribute('class', 'dark-mode');
}
</script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" crossorigin="anonymous"></script>
{% if page.layout == "base" %} {% if page.language != "python" %}
<!-- code highlighting -->
<!-- <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.8.0/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>-->
{% endif %}
<!-- Mathjax -->
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML"></script>
{% if page.language == "plotly_js" %}
<script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
{% endif %} {% if page.language == "r" or page.language == "ggplot2" %}
<!-- Plotly.js hardcoded to 1.x due to Plotly.plot() -->
<script src="https://cdn.plot.ly/plotly-1.58.4.min.js"></script>
<script src="/all_static/r_files/r_dependencies.js"></script>
{% elsif page.language == "julia" or page.language == "matlab" %}
<!-- Plotly.js hardcoded to 2.x for RequireJS/AMD compatibility -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.2/require.js"></script>
<script type="text/javascript">
if (typeof require !== "undefined") {
require.undef("plotly");
requirejs.config({
paths: {
plotly: [
"https://cdn.plot.ly/plotly-2.35.3.min",
],
},
});
require(["plotly"], function(Plotly) {
window._Plotly = Plotly;
});
}
</script>
{% else %}
<!-- Plotly.js -->
<script src="https://cdn.plot.ly/plotly-{{site.data.jsversion.version}}.min.js"></script>
{% endif %} {% endif %}
<!--
//// Stylesheets
-->
{% if page.language == "matlab" %}
<style>
.mcode {
border: 1px solid #cfcfcf;
border-radius: 2px;
background: #f7f7f7;
padding: 10px;
}
</style>
{% endif %} {% if page.language == "ggplot2" %}
<style>
.mcode {
border: 1px solid #cfcfcf;
border-radius: 2px;
background: #f7f7f7;
padding: 10px;
}
.wcode {
border: 1px solid #cfcfcf;
border-radius: 2px;
background: #ffffff;
padding: 10px;
}
</style>
{% endif %}
<!-- Fonts -->
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic|Ubuntu+Mono:400,700|Asap" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" />
<!-- Main Stylesheets -->
<link rel="stylesheet" type="text/css" href="/all_static/css/main.css?version={{ site.data.cache_bust_css | truncate: 10, '' }}" />
<link rel="stylesheet" type="text/css" href="/all_static/css/improve.css?version={{ "now" | date: "%Y-%m-%d-%H-%M"
}}">
<!-- LOCAL DEV STYLESHEET -->
<!--<link rel="stylesheet" type="text/css" href="http://api.plotly.dev/all_static/css/main.css">-->
<!-- Icon -->
<link rel="shortcut icon" href="https://dash.plotly.com/assets/favicon.ico" />
<!-- Google Tags-->
{% include layouts/google-tag-head.html %}
<!-- META TAGS -->
{% include layouts/seo.html %}
</head>