forked from Polymer/old-docs-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhead.html
More file actions
56 lines (50 loc) · 2.44 KB
/
head.html
File metadata and controls
56 lines (50 loc) · 2.44 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
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta itemprop="name" content="{{site.project_title}}{% if page.title %} - {{page.title}}{% endif %}">
<meta itemprop="description" content="{% if page.description %}{{page.description}}{% else %}Polymer is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.{% endif %}">
{% if page.snippet_img %}
<meta itemprop="image" content="{{page.snippet_img}}">
{% else %}
<meta itemprop="image" content="http://www.polymer-project.org/images/instacod.png">
{% endif %}
<title>
{% if page.title %}
{{page.title}} -
{% else %}
Welcome -
{% endif %} {{site.project_title}}
</title>
<link rel="publisher" href="https://plus.google.com/107187849809354688692">
<link rel="shortcut icon" href="/images/icons/loading_icon.png">
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- <link href="/css/flatui/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="/css/flatui/css/flat-ui.css" rel="stylesheet"> -->
<link href="/css/prettify/sunburst.css" rel="stylesheet">
<link href="/css/font-awesome/font-awesome.min.css" rel="stylesheet">
<!-- <link href="/css/pygments/default.css" rel="stylesheet" type="text/css"> -->
<link href="/css/site.css?{{site.time | date: '%Y%m%d'}}" rel="stylesheet">
{% for item in page.stylesheets %}
<link rel="stylesheet" href="{{item}}">
{% endfor %}
<!-- Comment out to test unminified Polymer -->
<script async>
// Prevent usage of the appspot.com URL.
try {
if (location.hostname.match('appspot.com') &&
location.search.substring(1).split('&').indexOf('force') == -1) {
window.location = location.protocol + '//www.polymer-project.org' + location.pathname;
}
} catch(e) {
// noop
}
</script>
{% if site.load_platform %}
<script src="/platform.js?{{site.time | date: '%Y%m%d'}}"></script>
<!--<script src="/polymer.min.js?{{site.time | date: '%Y%m%d'}}"></script>-->
<!--<script src="/polymer-all/polymer/polymer.js?{{site.time | date: '%Y%m%d'}}"></script>-->
<!-- <link rel="import" href="/polymer-all/components/polymer/polymer.html"> -->
<!-- TODO: remove when https://github.com/Polymer/polymer/issues/391 is fixed -->
<link rel="import" href="/components/polymer/polymer.html">
<link rel="import" href="/elements/common_elements.vulcanized.html">
{% endif %}