-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
57 lines (47 loc) · 2.36 KB
/
index.html
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
54
55
56
57
<!DOCTYPE html>
<html lang="zh-CN" ng-app="app">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<!-- TODO: demo 项目中须修改 -->
<title ng-bind="SEO.title">Ng-seeeeeeeeeeeeeeeeed</title>
<meta seo-meta name="keywords" content="angularjs,angularjs-seed,ng-seed,ie8,webpack">
<meta seo-meta name="description" content="angular项目基础框架,解决了前后端分离后,前端代码打包合并、资源文件CDN分离部署、单点登录、密码加密、服务接口跨域、SPA页面SEO等问题">
<!-- ie9及以下不支持placeholder, ie8不支持html5、自定义标签指令、console等
参考: https://github.com/jm-team/MSL-V3/tree/master/static/dep/ie8supports -->
<!--[if lte IE 9]>
<script src="<%= htmlWebpackPlugin.options.assetsPublicPath %>dep/ie8supports.js" type="text/javascript"></script>
<![endif]-->
<base href="/" />
</head>
<body document-click ng-class="{'index-page': $state.current.url === '/', 'other-page': $state.current.url !== '/'}">
<!--[if lt IE 8]>
<div class="browsehappy text-center">
你正在使用一个<strong>过时</strong>的浏览器。请<a class="link" target="_blank" href="http://browsehappy.com">升级你的浏览器</a>以查看此页面。
</div>
<![endif]-->
<div jm-header></div>
<div class="container page-container main-wrap" id="view" ui-view></div>
<div jm-footer></div>
<!-- 内联webpack manifest -->
<%=htmlWebpackPlugin.files.webpackManifest%>
<!-- SEO脚本 efe 百度统计代码 // TODO: demo 项目中须修改 -->
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?92de84cc51276413aeb4fa8d45b3b14c";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="<%= htmlWebpackPlugin.options.assetsPublicPath %>js/<%= htmlWebpackPlugin.options.dllJsFileName %>"></script>
<script>
// for SEO
window.prerenderReady = false;
// 配置ueditor路径 // TODO: demo 项目中须修改
window.UEDITOR_HOME_URL = '<%= htmlWebpackPlugin.options.assetsPublicPath %>dep/ueditor/';
</script>
</body>
</html>