forked from Polymer/old-docs-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhead.html
45 lines (39 loc) · 2.25 KB
/
head.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
<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 name="google-site-verification" content="pnjjbQFvjPwaWhEXY6nSyaS9iyghmH-M_yLHBveDX2M">
<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 library that uses the latest web technologies to let you create custom HTML elements. Build anything from a button to a complete application as an encapsulated, reusable element that works across desktop and mobile.{% 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 - A new type of library for the web, built on top of Web Components
{% endif %} {{site.project_title}}
</title>
<link rel="publisher" href="https://plus.google.com/107187849809354688692">
<link rel="shortcut icon" href="/images/logos/p-logo-16.png">
<link href="//fonts.googleapis.com/css?family=RobotoDraft:300,400,500|Source+Code+Pro:400,500,700" rel="stylesheet">
{% if page.layout == 'home' %}
{% comment %}homepage.css includes site2.css {% endcomment %}
<link href="/css/homepage.css?{{site.time | date: '%Y%m%d'}}" rel="stylesheet">
{% else %}
<link href="/css/site2.css?{{site.time | date: '%Y%m%d'}}" rel="stylesheet">
{% endif %}
<link href="/css/site2_sd_rules.css?{{site.time | date: '%Y%m%d'}}" rel="stylesheet" shim-shadowdom>
{% for item in page.stylesheets %}
<link rel="stylesheet" href="{{item}}?{{site.time | date: '%Y%m%d'}}" shim-shadowdom>
{% endfor %}
<script src="/platform.js?{{site.time | date: '%Y%m%d'}}"></script>
<!-- TODO: remove when https://github.com/Polymer/polymer/issues/391 is fixed -->
<link rel="import" href="/components/polymer/polymer.html">
{% if page.layout == 'home' %}
<link rel="import" href="/elements/homepage_elements.vulcanized.html?{{site.time | date: '%Y%m%d'}}">
{% else %}
<link rel="import" href="/elements/common_elements.vulcanized.html?{{site.time | date: '%Y%m%d'}}">
{% endif %}