-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy pathhtml.ejs
More file actions
53 lines (52 loc) · 2.37 KB
/
html.ejs
File metadata and controls
53 lines (52 loc) · 2.37 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta name="description" content="PatternFly is Red Hat's open source design system. It consists of components, documentation, and code for building enterprise applications at scale.">
<title><%= title %></title>
<link rel="shortcut icon" href="/assets/Favicon-Light.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/Favicon-Light-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/Favicon-Light-32x32.png">
<link rel="icon" type="image/png" sizes="48x48" href="/assets/Favicon-Light-48x48.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Butcherman&family=Familjen+Grotesk:ital,wght@0,400..700;1,400..700&display=swap" rel="stylesheet">
<link rel="manifest" href="/assets/manifest.json">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#151515">
<meta name="application-name" content="PatternFly docs">
<%= htmlWebpackPlugin.tags.headTags %>
</head>
<body>
<div id="root"><%= prerendering %></div>
<%= htmlWebpackPlugin.tags.bodyTags %>
<% if (algolia) { %>
<script
async
crossorigin
type="module"
src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"
></script>
<link
href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
crossorigin
rel="stylesheet"
media="print"
onload="this.media='all'; this.onload=null;"
>
<% } %>
<% if (googleAnalyticsID) { %>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= googleAnalyticsID %>"></script>
<script>
if(!(parseInt(navigator.doNotTrack) === 1 || parseInt(window.doNotTrack) === 1 || parseInt(navigator.msDoNotTrack) === 1 || navigator.doNotTrack === "yes")) {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '<%= googleAnalyticsID %>');
}
</script>
<% } %>
</body>
</html>