forked from Gitlink/forgeplus-react
72 lines
3.0 KiB
HTML
Executable File
72 lines
3.0 KiB
HTML
Executable File
<!DOCTYPE html>
|
||
<html lang="zh-CN" class="notranslate translated-ltr" translate="no">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title>红山开源社区</title>
|
||
<meta name="keywords" content="红山开源,创客空间,群智共享">
|
||
<meta name="keywords" content="红山开源社区,开源开放,众创,论坛">
|
||
<meta name="keywords" content="issue,bug,tracker">
|
||
<meta name="description" content="红山开源是一个依托互联网群体智慧实现世界范围内资源深度融合、开放共享和协同创新的开源社区" />
|
||
<meta name="theme-color" content="#000000">
|
||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
|
||
|
||
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%css/iconfont.css">
|
||
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%css/edu-purge.css">
|
||
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%css/editormd.min.css">
|
||
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%css/merge.css">
|
||
<%= htmlWebpackPlugin.tags.headTags %>
|
||
<style>
|
||
#ie_info{
|
||
display: none;
|
||
text-align: center;
|
||
margin: 10vh;
|
||
color: #4154f1;
|
||
font-size: 40px;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<!--用于markdown转html -->
|
||
<div id="ie_info">不支持当前浏览器,请更换浏览器!<br/>推荐使用谷歌浏览器、360浏览器极速模式、火狐浏览器或Edge浏览器!</div>
|
||
<div id="md_div" style="display: none;"></div>
|
||
<div id="root" class="page -layout-v -fit widthunit"></div>
|
||
<div id="picture_display" style="display: none;"></div>
|
||
<script src="%PUBLIC_URL%js/jquery-1.8.3.min.js"></script>
|
||
<script>
|
||
var getExplorer = (function () {
|
||
var explorer = window.navigator.userAgent,
|
||
compare = function (s) { return (explorer.indexOf(s) >= 0); },
|
||
ie11 = (function () { return ("ActiveXObject" in window) })();
|
||
if (compare("MSIE") || ie11) { return 'ie'; }
|
||
else if (compare("Firefox") && !ie11) { return 'Firefox'; }
|
||
else if (compare("Chrome") && !ie11) {
|
||
if (explorer.indexOf("Edge") > -1) {
|
||
return 'Edge';
|
||
} else {
|
||
return 'Chrome';
|
||
}
|
||
}
|
||
else if (compare("Opera") && !ie11) { return 'Opera'; }
|
||
else if (compare("Safari") && !ie11) { return 'Safari'; }
|
||
})()
|
||
if (getExplorer == 'ie') {
|
||
$('#ie_info').css({display:'block'});
|
||
$('#root').css({display:'none'});
|
||
}
|
||
window.onload=function(){
|
||
$(".newContainer").delegate("a.anchors","click",function(){
|
||
let h = $(this).offset().top - 180;
|
||
$("html,body").animate({scrollTop:h},10);
|
||
window.location.hash = $(this).attr("name");
|
||
return false;
|
||
});
|
||
|
||
}
|
||
</script>
|
||
<script src="%PUBLIC_URL%js/js_min_all.js"></script>
|
||
<script src="%PUBLIC_URL%js/codemirror/codemirror.js"></script>
|
||
<script src="%PUBLIC_URL%js/editormd/editormd.min.js"></script>
|
||
<script src="%PUBLIC_URL%js/codemirror/merge/merge.js"></script>
|
||
<%= htmlWebpackPlugin.tags.bodyTags %>
|
||
</body>
|
||
</html> |