-
Notifications
You must be signed in to change notification settings - Fork 422
/
template.html
22 lines (22 loc) · 1010 Bytes
/
template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html {{ htmlAttributes | safe }}>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if title %}<title>{{ title }}</title>{% endif %}
{% if meta %}{{ meta | safe }}{% endif %}
{% if link %}{{ link | safe }}{% endif %}
{% for cssFile in manifest["css"] %}<link rel="stylesheet" type="text/css" href="{{ root }}{{ cssFile }}"/>
{% endfor %}
<!--[if lt IE 10]>
<script src="https://as.alipayobjects.com/g/component/??console-polyfill/0.2.2/index.js,es5-shim/4.5.7/es5-shim.min.js,es5-shim/4.5.7/es5-sham.min.js,html5shiv/3.7.2/html5shiv.min.js,media-match/2.0.2/media.match.min.js"></script>
<![endif]-->
</head>
<body>
<div id="react-content">{{ content | safe }}</div>
</body>
<script src="{{ root }}common.js"></script>
{% for jsFile in manifest["js"] %}<script src="{{ root }}{{ jsFile }}"></script>
{% endfor %}
</html>