-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.ejs
26 lines (25 loc) · 1.11 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
<!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/docsite.ico"/>
<link rel="stylesheet" title="tb-theme" id="tb-theme" href="//cdn.jsdelivr.net/npm/@txdfe/at/build/teambition.min.css"></link>
<link rel="stylesheet" href="<%= rootPath %>/build/<%= page %>.css" />
</head>
<body>
<div id="root"><%- __html %></div>
<script src="//g.alicdn.com/code/lib/react/16.8.6/umd/react.production.min.js"></script>
<script src="//g.alicdn.com/code/lib/react-dom/16.8.6/umd/react-dom.production.min.js"></script>
<script src="//g.alicdn.com/code/lib/moment.js/2.24.0/moment.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/@txdfe/at/build/at.min.js"></script>
<script>
window.rootPath = '<%= rootPath %>';
</script>
<script src="<%= rootPath %>/build/<%= page %>.js"></script>
</body>
</html>