Update head.html
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="generator" content="MaxKey v2.0.0" />
|
||||
<title>MaxKey is leading-edge Identity and Access Management System-Single Sign On(SSO)</title>
|
||||
<title id="maxkey_title">MaxKey is leading-edge Identity and Access Management System-Single Sign On(SSO)</title>
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ "/images/favicon.ico" | prepend: site.baseurl }}?{{ site.time | date: "%Y%m%d%H%M" }}" title="MaxKey">
|
||||
<!-- syntax highlighting CSS -->
|
||||
@@ -32,7 +32,10 @@
|
||||
if(!currentLang){//判断IE浏览器使用语言
|
||||
currentLang = navigator.browserLanguage;
|
||||
}
|
||||
alert(currentLang);
|
||||
|
||||
if(currentLang.substr(1,2).toLowerCase()=="zh"){
|
||||
document.getElementById("maxkey_title").innerHTML="MaxKey-业界领先的企业级IAM身份管理和身份认证产品";
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user