forked from adamlaska/circleci-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhead.html
More file actions
33 lines (31 loc) · 2.51 KB
/
head.html
File metadata and controls
33 lines (31 loc) · 2.51 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
<head>
{% if page.url contains '/archive/' %}<meta name="robots" content="noindex, nofollow" />{% endif %}
{% if page.noindex %}<meta name="robots" content="noindex, follow"/>{% endif %}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
{% if page.redirect %}<meta http-equiv="refresh" content="0; url={{ page.redirect }}">{% endif %}
{% assign current_url = page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url %}
{% if jekyll.environment == "production" %}
{% include_cached google-tag-manager.html %}
{% endif %}
<link rel="canonical" href="{{current_url}}">
<link rel="alternate" hreflang="{{page.lang}}" href="{{current_url}}" />
{% if page.lang == "en" %}
<link rel="alternate" hreflang="ja" href="{{ current_url | replace: '/docs/','/docs/ja/' }}" />
{% elsif page.lang == "ja" %}
<link rel="alternate" hreflang="en" href="{{ current_url | replace: '/docs/ja/','/docs/' }}" />
{% endif %}
<link href="{{ "/assets/img/icons/favicon.png" | prepend: site.baseurl }}" rel="icon" type="image/png" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/app.bundle.css" />
<title>{% if page.title %}{{ page.title | escape }} - CircleCI{% else %}{{ site.title | escape }} - CircleCI{% endif %}</title>
{% include_cached segment.html site=site page=page %}
<!-- Instant Search CDN links /-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.css@7.3.1/themes/reset-min.css" integrity="sha256-t2ATOGCtAIZNnzER679jwcFcKYfLlw01gli6F6oszk8=" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@4.0.0/dist/algoliasearch-lite.umd.js" integrity="sha256-MfeKq2Aw9VAkaE9Caes2NOxQf6vUa8Av0JqcUXUGkd0=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4.0.0/dist/instantsearch.production.min.js" integrity="sha256-6S7q0JJs/Kx4kb/fv0oMjS855QTz5Rc2hh9AkIUjUsk=" crossorigin="anonymous"></script>
<script src="https://cdn.optimizely.com/datafiles/{{site.optimizely}}.json/tag.js"></script>
</head>