-
Notifications
You must be signed in to change notification settings - Fork 437
/
_head-docs.html
65 lines (54 loc) · 2.86 KB
/
_head-docs.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
{% for item in site.data.doc-versions.docVersions %}
{% if item.url == site.data.commons.stable_version %}
{% assign stable_version = item %}
{% endif %}
{% if item.url == site.data.commons.next_version %}
{% assign next_version = item %}
{% endif %}
{% endfor %}
{% for item in site.data.doc-versions.docVersions %}
{% if item.url == stable_version.previous %}
{% assign previous_version = item %}
{% endif %}
{% endfor %}
{% assign title_module = "Λrrow " | append: cat_id_cap %}
<head>
<meta charset="UTF-8">
<title>{{ title_module }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{site.description}}">
<meta name="keywords" content="{{site.keywords}}">
<meta property="og:image" content="https://arrow-kt.io/img/poster.png" />
<meta property="og:title" content="{{site.name}}" />
<meta property="og:site_name" content="{{site.name}}" />
<meta property="og:url" content="https://arrow-kt.io/" />
<meta property="og:type" content="website" />
<meta property="og:description" content="{{site.description}}" />
<meta property="og:keywords" content="{{site.keywords}}" />
<meta name="twitter:text:description" content="{{site.description}}" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="{{site.twitter_handle}}">
<meta name="twitter:creator" content="{{site.twitter_handle}}">
<meta name="twitter:image" content="https://arrow-kt.io/img/poster.png" />
<script src="https://cmp.osano.com/Azqe1bTAGcqQg3qk/41ef424a-67f6-4137-832b-b1c7848f5959/osano.js"></script>
<!-- Fontawesome -->
<script src="https://kit.fontawesome.com/ca2f98aa9e.js" crossorigin="anonymous"></script>
<!-- Favicon -->
<link rel="shortcut icon" type="image/png" href="{{ '/img/favicon.png' | relative_url }}">
<!-- Diagrams support -->
<script src="{{ '/js/dagre.min.js' | relative_url }}"></script>
<script src="{{ '/js/lodash.min.js' | relative_url }}"></script>
<script src="{{ '/js/nomnoml.js' | relative_url }}"></script>
<script src="{{ '/js/diagrams.js' | relative_url }}" async></script>
<!-- Arrow versions metadata -->
<meta name="previous-version" data-title="{{ previous-version.title }}" data-url="{{ previous-version.url }}" />
<meta name="stable-version" data-title="{{ stable-version.title }}" data-url="{{ stable-version.url }}" />
<meta name="next-version" data-title="{{ next-version.title }}" data-url="{{ next-version.url }}" />
<!-- Font Awesome -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet" type="text/css">
<!-- Site main css -->
<link rel="stylesheet" type="text/css" href="{{ '/css/docs-styles.css' | relative_url }}">
{% if jekyll.environment == 'production' and site.data.commons.google_analytics %}
{% include _google-tag-manager.html %}
{% endif %}
</head>