forked from dubbogo/dubbo-go-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.ejs
32 lines (30 loc) · 1.12 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
<!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/dubbo.ico"/>
<link rel="stylesheet" href="<%= rootPath %>/build/<%= page %>.css" />
</head>
<body>
<div id="root"><%- __html %></div>
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
<script src="https://f.alicdn.com/react/15.4.1/react-dom.min.js"></script>
<script>
window.rootPath = '<%= rootPath %>';
</script>
<script src="<%= rootPath %>/build/<%= page %>.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-112489517-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-112489517-1');
</script>
</body>
</html>