-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathhead.html
More file actions
114 lines (114 loc) · 6.3 KB
/
Copy pathhead.html
File metadata and controls
114 lines (114 loc) · 6.3 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
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
{%- capture keywords %}
{%- if page.related_pages %}
{%- for section in page.related_pages %}
{%- unless section[1].size == 0 %}
{%- for keywordstr in section[1] %}
{%- assign keywordpage = site.pages | where: "page_id", keywordstr | first %}
{%- if allkeywords %}
{%- assign allkeywords = allkeywords | append: ", " | append: keywordstr | append: ", " | append: keywordpage.title %}
{%- else %}
{%- assign allkeywords = allkeywords | append: keywordstr | append: ", " | append: keywordpage.title %}
{%- endif %}
{%- endfor %}
{%- endunless %}
{%- endfor %}{{allkeywords}}
{%- endif %}
{%- endcapture %}
<meta name="keywords" content="{{keywords}}">
<meta property="og:title" content="{{ site.title }}" />
<meta property="og:description" content="{{ site.description }}" />
<meta property="og:image" content="//{{site.github.url | remove: 'https://' | remove: 'http://'}}/assets/img/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="{{site.title}}">
<meta name="msapplication-TileColor" content="#{{site.theme_variables.theme_color | default: 0d6efd }}">
<meta name="theme-color" content="#{{site.theme_variables.theme_color | default: 0d6efd }}">
{%- if page.no_robots %}
<meta name="robots" content="noindex" />
{%- endif %}
{%- if page.type %}
{%- assign subtitle = page.type | replace: "_", " " | capitalize %}
{%- endif %}
<title>{% if page.title %}{% if subtitle %}{{subtitle}}: {% endif %}{{ page.title }} | {{ site.title }}{%- else %}{{ site.title }}{% endif %}</title>
<!-- Syntax highlighting -->
<link rel="stylesheet" href="{{ 'assets/css/syntax.css' | relative_url }}">
<!-- Country flags -->
<link rel="stylesheet" href="{{ 'assets/css/flag-icon.min.css' | relative_url }}">
<!-- Font Awesome -->
<link rel="stylesheet" type="text/css" href="{{ 'assets/css/all.min.css' | relative_url }}">
<!-- Main css file -->
<link rel="stylesheet" href="{{ 'assets/css/main.css' | relative_url }}?{{site.time | date: '%s'}}">
{%- if site.theme_variables.fonts.size != 0 %}
<!-- Main font(s) -->
{%- for font in site.theme_variables.fonts %}
<link href="{{font}}" rel="stylesheet">
{%- endfor %}
{%- endif %}
<!-- JavaScript -->
<script src="{{ 'assets/js/jquery.min.js' | relative_url }}"></script>
<script src="{{ 'assets/js/flexsearch.js' | relative_url }}"></script>
<script src="{{ 'assets/js/bootstrap.bundle.min.js' | relative_url }}"></script>
<script src="{{ 'assets/js/anchor.min.js' | relative_url }}"></script>
<script src="{{ 'assets/js/toc.js' | relative_url }}"></script>
<script src="{{ 'assets/js/jquery.navgoco.js' | relative_url }}"></script>
<script src="{{ 'assets/js/main.js' | relative_url }}"></script>
<script src="{{ 'assets/js/search.js' | relative_url }}"></script>
<script src="{{ 'assets/js/clipboard.min.js' | relative_url }}"></script>
{%- if page.datatable == true %}
<!-- Include the standard DataTables bits -->
<link rel="stylesheet" type="text/css" href="{{ 'assets/css/dataTables.bootstrap5.min.css' | relative_url }}">
<script type="text/javascript" charset="utf8" src="{{ 'assets/js/jquery.dataTables.min.js' | relative_url }}"></script>
<script type="text/javascript" charset="utf8" src="{{ 'assets/js/dataTables.bootstrap5.min.js' | relative_url }}"></script>
<script type="text/javascript">
$.fn.DataTable.ext.pager.numbers_length = 5;
$(document).ready(function () {
$('div.datatable-begin').nextUntil('div.datatable-end', 'table').addClass('display');
$('table.display').DataTable({
lengthMenu: [[25, 50, 100, -1], [25, 50, 100, "All"]],
stateSave: true,
searching: true,
language: {
searchPlaceholder: "Type here..."
}
});
});
</script>
{%- endif %}
<!-- favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="{{ 'assets/img/apple-touch-icon.png' | relative_url }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ 'assets/img/favicon-32x32.png' | relative_url }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ 'assets/img/favicon-16x16.png' | relative_url }}">
<link rel="manifest" href="{{ 'assets/img/site.webmanifest' | relative_url }}">
<link rel="mask-icon" href="{{ 'assets/img/safari-pinned-tab.svg' | relative_url }}" color="#{{site.theme_variables.theme_color | default: 0d6efd }}">
<link rel="shortcut icon" href="{{ 'assets/img/favicon.ico' | relative_url }}">
<!-- Schema.org metadata -->
{% include schemasorg.html %}
{%- if site.gtag and jekyll.environment == "production"%}
<!-- Google analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
<script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', '{{ site.gtag }}');</script>
{%- endif %}
{%- if site.plausible and jekyll.environment == "production"%}
<!-- Plausible -->
<script defer data-domain="{{site.plausible}}" src="{{site.plausible_src | default: 'https://plausible.io/js/plausible.js'}}"></script>
{%- endif %}
{%- if site.matomo and jekyll.environment == "production"%}
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="{{site.matomo}}";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
{%- endif %}
</head>