-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathhead.html
More file actions
98 lines (85 loc) · 3.97 KB
/
head.html
File metadata and controls
98 lines (85 loc) · 3.97 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
{% assign description = '' %}
{% if page.i18n-seo-description %}
{%- capture description -%}
{% t page.i18n-seo-description %}
{%- endcapture %}
{% elsif page.seo-description %}
{% assign description = page.seo-description | escape %}
{% elsif page.description %}
{% assign description = page.description | escape %}
{% else %}
{% assign description = site.description | strip_html | normalize_whitespace | truncate: 160 | escape %}
{% endif %}
{% assign default_image = 'https://openliberty.io/img/twitter_card.jpg' %}
{% assign default_image_alt = 'Open Liberty Logo' %}
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
{% if page.seo-title %}
{{ page.seo-title | escape }}
{% else %}
{% if page.i18n-title %}
{%- capture i18n -%}
{% t page.i18n-title %}
{%- endcapture %}
{{ i18n | append: ' - ' | append: site.title | escape }}
{% elsif page.title %}
{{ page.title | append: ' - ' | append: site.title | escape }}
{% else %}
{{ site.title | escape }}
{% endif %}
{% endif %}
</title>
<meta name="description" content="{{ description }}">
{% if page.layout == "default" or page.layout == "post" or page.layout == "certification" %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
{% else %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
{% endif %}
<link rel="icon" type="image/x-icon" href="/favicon.ico">
{% css openliberty %}
{% css coderay-custom %}
{% for css_name in layout.css %}
{% css {{css_name}} %}
{% endfor %}
{% for css_name in page.css %}
{% css {{css_name}} %}
{% endfor %}
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
<meta property='og:title' content="{% if page.seo-title %}{{ page.seo-title }}{% else %}{{site.title}}{% endif %}" />
<meta property='og:image' content="{% if page.open-graph-image %}{{page.open-graph-image}}{% else %}{{default_image}}{% endif %}" />
<meta property='og:image:alt' content="{% if page.open-graph-image-alt %}{{page.open-graph-image-alt}}{% else %}{{default_image_alt}}{% endif %}" />
<meta property='og:description' content="{{ description }}" />
<meta property='og:url' content="{{ page.url | replace:'index.html','' | absolute_url }}" />
<meta property='og:type' content="website" />
<meta name="google-site-verification" content="h2P030H9b66CyL1nEmWfrZB8Fr14h9LmVMG7Ur0caBs" />
{% if jekyll.environment != 'production' or page.permalink == '/blog/redirected.html' or page.noindex == true %}
{% include_cached noindex.html %}
{% endif %}
<script async defer src="https://buttons.github.io/buttons.js" integrity="sha512-pBW60/IKtE8DJnbxxOaIVfRIKb27cnEG/JOFLMf7hkDWpohNZNrx+PmYw0fsJvQMK/sp5NzUYgZkIIv0FbeNjw==" crossorigin="anonymous"></script>
<script type="text/javascript">
window._ibmAnalytics = {
"settings": {
"name": "Openliberty-io-website",
"tealiumProfileName": "ibm-web-app"
},
"digitalData.page.services.google.enabled": true
};
digitalData = {
"page": {
"pageInfo": {
"ibm": {
"siteId": "IBM_" + _ibmAnalytics.settings.name,
}
},
"category": {
"primaryCategory": "PC100"
}
}
};
</script>
<script src="//1.www.s81c.com/common/stats/ibm-common.js" type="text/javascript" async="async"></script>
</head>