-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathhead.html
62 lines (49 loc) · 2.57 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
{% comment %}
Copied from https://github.com/pmarsceill/just-the-docs/blob/v0.3.3/_includes/head.html
to match the version of the installed gem
{% endcomment %}
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="shortcut icon" href="{{ 'favicon.ico' | relative_url }}" type="image/x-icon">
{% comment %}
Add css cache invalidation based on built time
{% endcomment %}
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}?{{ site.time | date: '%s%N' }}">
{% comment %}
Cookiebot must be the first script tag
{% endcomment %}
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="789afc41-df22-45f3-8fd9-981f78082b81" data-blockingmode="auto" type="text/javascript"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-R6YJ1X2PYS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-R6YJ1X2PYS');
</script>
{% if site.search_enabled != false %}
<script type="text/javascript" src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}" data-cookieconsent="ignore"></script>
{% endif %}
<script type="text/javascript" src="{{ '/assets/js/just-the-docs.js' | relative_url }}"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% seo %}
{% include head_custom.html %}
{% if page.apidoc %}
<script src="https://unpkg.com/@stoplight/elements/web-components.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@stoplight/elements/styles.min.css">
<link rel="stylesheet" href="{{ '/css/stoplight-elements-override.css' | relative_url }}">
{% if page.switchbasicwithapikey %}
<link rel="stylesheet" href="{{ '/css/stoplight-elements-public-api-override.css' | relative_url }}">
{% endif %}
{% endif %}
{% if page.fullwidth %}
<link rel="stylesheet" href="{{ '/css/fullwidth-override.css' | relative_url }}">
{% endif %}
<!-- Reddit Pixel -->
<script>
!function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments):p.callQueue.push(arguments)};p.callQueue=[];var t=d.createElement("script");t.src="https://www.redditstatic.com/ads/pixel.js",t.async=!0;var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}}(window,document);rdt('init','t2_95bvy8de');rdt('track', 'PageVisit');
</script>
<!-- DO NOT MODIFY UNLESS TO REPLACE A USER IDENTIFIER -->
<!-- End Reddit Pixel -->
</head>