-
Notifications
You must be signed in to change notification settings - Fork 3.2k
/
Copy pathhead.html
131 lines (117 loc) · 6.22 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{% import "_includes/macros.html" as macros %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if dev %}
{% if not noGlobalStyles %}
<link href="/css/styles.css" rel="stylesheet">
{% endif %}
{% else %}
{% if not noGlobalStyles %}
<link href="/css/styles.min.css" rel="stylesheet">
{% endif %}
{% endif %}
{% if cssPath %}
{{ macros.pageSpecificCSS(dev, cssPath, cssVersion) }}
{% endif %}
{% if title %}
<title>{{title}}</title>
{% elif 'products-' in id %}
<title>Ionic Appflow - {{ id | replace('products-','') | title}}</title>
{% elif isEnterprise %}
<title>Ionic for Enterprise - {{ id | replace('enterprise-','') | replace("-", " ") | title}}</title>
{% elif name %}
<title>Ionic Framework - {{name}}</title>
{% elif id %}
<title>Ionic Framework - {{id | replace("-", " ") | title}}</title>
{% else %}
<title>Ionic Framework</title>
{% endif %}
{% if 'products' in id %}
{% if not meta_image %}
{% set meta_image = 'https://ionicframework.com/img/meta/ionic-pro-og.png' %}
{% endif %}
{% if not meta_description %}
{% set meta_description = "The Ionic Appflow platform helps you build better apps on ionic framework with Appflow's integrated suite of tools and services designed for the entire app lifecycle." %}
{% endif %}
{% set meta_keywords = "html5,javascript,mobile,drifty,ionic,hybrid,phonegap,cordova,native,ios,android,angularjs, ionic pro, ionic pro apps, ionic pro suite, ionic pro product, ionic pro tools" %}
{% endif %}
{% if meta_description %}
<meta name="description" content="{{ meta_description }}">
{% endif %}
<meta name="author" content="Ionic">
<meta name="keywords" content="{% if meta_keywords %}{{ meta_keywords }}{% else %}html5,javascript,mobile,drifty,ionic,hybrid,phonegap,cordova,native,ios,android,angularjs{% endif %}">
{% if meta_canonical %}
<link rel="canonical" href="{{meta_canonical}}">
{% else %}
<link rel="canonical" href="https://ionicframework.com{{requrl}}">
{% endif %}
<!-- Social: Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@ionicframework">
<meta name="twitter:creator" content="ionicframework">
{% if title %}
<meta name="twitter:title" content="{{title}}">
{% elif name %}
<meta name="twitter:title" content="Ionic Framework - {{name}}">
{% elif id %}
<meta name="twitter:title" content="Ionic Framework - {{id | title}}">
{% else %}
<meta name="twitter:title" content="Ionic Framework">
{% endif %}
<meta name="twitter:description" content="{% if meta_description %}{{ meta_description }}{% else %}Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards{% endif %}">
<meta name="twitter:image" content="{% if meta_image %}{{meta_image}}{% else %}https://ionicframework.com/img/meta/ionic-framework-og.png{% endif %}">
<!-- Social: Facebook / Open Graph -->
<meta property="fb:page_id" content="1321836767955949">
<meta property="og:url" content="https://ionicframework.com{{url}}">
<meta property="og:type" content="article">
{% if title %}
<meta property="og:title" content="{{title}}">
{% elif name %}
<meta property="og:title" content="Ionic Framework - {{name}}">
{% elif id %}
<meta property="og:title" content="Ionic Framework - {{id | title}}">
{% else %}
<meta property="og:title" content="Ionic Framework">
{% endif %}
<meta property="og:image" content="{% if meta_image %}{{meta_image}}{% else %}https://ionicframework.com/img/meta/ionic-framework-og.png{% endif %}"/>
<meta property="og:description" content="{% if meta_description %}{{ meta_description }}{% else %}Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards{% endif %}">
<meta property="og:site_name" content="Ionic Framework">
<meta property="article:publisher" content="https://www.facebook.com/ionicframework">
<meta property="og:locale" content="en_US" />
<link href="https://plus.google.com/+Ionicframework" rel="publisher" />
<link rel="apple-touch-icon" sizes="57x57" href="/img/meta/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/img/meta/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/img/meta/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/img/meta/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/img/meta/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/img/meta/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/img/meta/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/img/meta/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/img/meta/apple-touch-icon-180x180.png">
{% if favicons %}
{% for icon in favicons %}
<link rel="icon" type="image/png" href="{{icon[0]}}" sizes="{{icon[1]}}">
{% endfor %}
{% else %}
<link rel="icon" type="image/png" href="/img/meta/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/img/meta/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/img/meta/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/img/meta/favicon-192x192.png" sizes="192x192">
{% endif %}
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-TileImage" content="/img/meta/ms-icon-70x70.png">
<meta name="msapplication-TileImage" content="/img/meta/ms-icon-144x144.png">
{% if not themeColor %}
<meta name="theme-color" content="#4c8fff">
{% else %}
<meta name="theme-color" content="{{themeColor}}">
{% endif %}
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{% if recaptcha %}
<script src="https://www.google.com/recaptcha/api.js?render=6LfbcKAUAAAAACUDq_t59TP8MawQXB37DVEeSOjZ"></script>
{% endif %}
{% if not noGlobalStencil %}
<script type="module" src="/js/stencil/ionic-site-components/ionic-site-components.esm.js"></script>
<script nomodule src="/js/stencil/ionic-site-components.js"></script>
{% endif %}