forked from apache/dolphinscheduler-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.ejs
47 lines (46 loc) · 1.72 KB
/
template.ejs
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="keywords" content="<%= keywords %>">
<meta name="description" content="<%= description %>">
<title><%= title %></title>
<link rel="shortcut icon" href="<%= rootPath %>/img/favicon.ico">
<%_ if (vendorCssPath) { _%>
<link rel="stylesheet" href="<%= rootPath %>/build/<%= vendorCssPath %>">
<%_ } _%>
<%_ if (pageCssPath) { _%>
<link rel="stylesheet" href="<%= rootPath %>/build/<%= pageCssPath %>">
<%_ } _%>
</head>
<body>
<div id="root"><%- __html %></div>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '<%= rootPath %>';</script>
<%_ if (vendorJsPath) { _%>
<script src="<%= rootPath %>/build/<%= vendorJsPath %>"></script>
<%_ } _%>
<%_ if (pageJsPath) { _%>
<script src="<%= rootPath %>/build/<%= pageJsPath %>"></script>
<%_ } _%>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?4e7b4b400dd31fa015018a435c64d06f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-899J8PYKJZ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-899J8PYKJZ');
</script>
</body>
</html>